Skip to content

Commit

Permalink
fixes #287
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Jul 14, 2022
1 parent c9b56a3 commit aa1866c
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Suggests:
License: CC0
URL: https://github.com/USGS-R/sbtools
BugReports: https://github.com/USGS-R/sbtools/issues
RoxygenNote: 7.1.2
RoxygenNote: 7.2.0
Encoding: UTF-8
2 changes: 0 additions & 2 deletions R/folder_create.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#' @title Create a folder
#'
#'
#' @template item_with_parent
#' @param name (character) the folder name
#' @return A \code{\link[httr]{response}} object
Expand Down
2 changes: 1 addition & 1 deletion R/item_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' library("httr")
#' res <- query_items(list(s = "Search", q = "water", format = "json"))
#'
#' if(res$status != 404) {
#' if(inherits(res, "response") && res$status != 404) {
#' ids <- vapply(httr::content(res)$items, "[[", "", "id")
#' lapply(ids[1:3], item_get)
#' }
Expand Down
2 changes: 0 additions & 2 deletions R/query_sb_datatype.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#' @title Query SB for specific data type
#'
#'
#' @param datatype Character string indicating datatype. See \code{\link{sb_datatypes}} for full
#' list of available datatypes.
#'
Expand Down
3 changes: 0 additions & 3 deletions R/query_sb_date.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#' @title Query SB for items within a date range
#'
#'
#'
#' @param start Start date as \code{\link{POSIXct}} object. Defaults to 1970-01-01
#' @param end End date as \code{\link{POSIXct}} object. Defaults to today.
#' @param date_type Which object timestamp to query against. Options are (case sensitive):
Expand Down
2 changes: 0 additions & 2 deletions R/query_sb_doi.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#' @title Query SB for specific DOI (Digital Object Identifier)
#'
#'
#' @param doi DOI to search for as character
#' @inheritParams query_sb
#'
Expand Down
2 changes: 0 additions & 2 deletions R/query_sb_text.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#' @title Query SB for items containing specific text
#'
#'
#' @param text Text string for search
#' @inheritParams query_sb
#'
Expand Down
2 changes: 1 addition & 1 deletion man/item_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa1866c

Please sign in to comment.