Skip to content

Commit

Permalink
Merge pull request #368 from ldecicco-USGS/master
Browse files Browse the repository at this point in the history
Fixing package level help so ?dataRetrieval will work
  • Loading branch information
ldecicco-USGS authored May 12, 2017
2 parents b904129 + 2537f38 commit 10d7a1d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ Type: Package
Title: Retrieval Functions for USGS and EPA Hydrologic and Water Quality Data
Version: 2.7.0
Date: 2017-05-05
Authors@R: c( person("Robert", "Hirsch", role = c("aut"),
Authors@R: c(person("Robert", "Hirsch", role = c("aut"),
email = "[email protected]"),
person("Laura", "DeCicco", role = c("aut","cre"),
email = "[email protected]"),
person("David","Lorenz", role=c("aut"),
email = "[email protected]"),
person("David","Lorenz", role=c("aut")),
person("Jordan", "Read", role = c("ctb"),
email = "[email protected]"),
person("Jordan", "Walker", role = c("ctb"),
email = "[email protected]"),
person("Lindsay","Carr", role=c("ctb"),
email = "[email protected]"),
person("David","Watkins", role=c("aut"),
Expand Down
2 changes: 1 addition & 1 deletion R/tabbedDataRetrievals.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#'
#' Please see \url{https://pubs.er.usgs.gov/publication/tm4A10} for more information.
#'
#' @name dataRetrieval-package
#' @name dataRetrieval
#' @docType package
#' @author Laura De Cicco \email{ldecicco@@usgs.gov}
#' @keywords USGS, web services
Expand Down
7 changes: 6 additions & 1 deletion R/whatNWISsites.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ whatNWISsites <- function(...){
retVal <- retVal[!duplicated(retVal),]

attr(retVal, "url") <- urlCall
attr(retVal, "queryTime") <- Sys.time()

timenow <- Sys.time()

attr(retVal, "queryTime") <- timenow
# Backwards compatible, might remove later:
retVal$queryTime <- timenow

return(retVal)
}
3 changes: 2 additions & 1 deletion man/dataRetrieval-package.Rd → man/dataRetrieval.Rd

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

0 comments on commit 10d7a1d

Please sign in to comment.