Skip to content

Commit

Permalink
Merge pull request #128 from ldecicco-USGS/master
Browse files Browse the repository at this point in the history
Getting new CRAN checks to pass.
  • Loading branch information
ldecicco-USGS committed Jun 29, 2015
2 parents 7a1074f + 0d55cbc commit 070b712
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 16 deletions.
8 changes: 5 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: dataRetrieval
Type: Package
Title: Retrieval Functions for USGS and EPA Hydrologic and Water Quality Data
Version: 2.2.2
Date: 2015-06-05
Version: 2.2.3
Date: 2015-06-29
Authors@R: c( person("Robert", "Hirsch", role = c("aut"),
email = "[email protected]"),
person("Laura", "DeCicco", role = c("aut","cre"),
Expand All @@ -27,7 +27,9 @@ Imports:
RCurl,
reshape2,
lubridate,
plyr
plyr,
stats,
utils
Suggests:
xtable,
knitr,
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export(zeroPad)
import(RCurl)
import(XML)
import(lubridate)
import(stats)
import(utils)
importFrom(plyr,rbind.fill.matrix)
importFrom(reshape2,dcast)
importFrom(reshape2,melt)
1 change: 1 addition & 0 deletions R/constructNWISURL.r
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#' @return url string
#' @export
#' @import RCurl
#' @import utils
#' @examples
#' siteNumber <- '01594440'
#' startDate <- '1985-01-01'
Expand Down
2 changes: 2 additions & 0 deletions R/importRDB1.r
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#' }
#' @export
#' @import RCurl
#' @import utils
#' @import stats
#' @examples
#' siteNumber <- "02177000"
#' startDate <- "2012-09-01"
Expand Down
2 changes: 2 additions & 0 deletions R/importWQP.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#' @seealso \code{\link{readWQPdata}}, \code{\link{readWQPqw}}, \code{\link{whatWQPsites}}
#' @import RCurl
#' @import lubridate
#' @import utils
#' @import stats
#' @examples
#' # These examples require an internet connection to run
#'
Expand Down
2 changes: 2 additions & 0 deletions R/importWaterML1.r
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#' @export
#' @import XML
#' @import RCurl
#' @import utils
#' @import stats
#' @importFrom reshape2 melt
#' @importFrom reshape2 dcast
#' @examples
Expand Down
3 changes: 2 additions & 1 deletion R/readNWISdata.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#' (for groundwater levels), "site" (for site service), and "qw" (water-quality). Note: "qw" calls go to:
#' \url{http://nwis.waterdata.usgs.gov/usa/nwis/qwdata} for data requests, and use different call requests schemes.
#' @param \dots see \url{http://waterservices.usgs.gov/rest/Site-Service.html#Service} for a complete list of options
#' @keywords data import NWIS web service
#' @import utils
#' @import stats
#' @return A data frame with the following columns:
#' \tabular{lll}{
#' Name \tab Type \tab Description \cr
Expand Down
2 changes: 1 addition & 1 deletion R/whatNWISsites.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' Mapper format is used
#'
#' @param \dots see \url{http://waterservices.usgs.gov/rest/Site-Service.html#Service} for a complete list of options
#' @keywords data import NWIS web service
#' @import utils
#' @return A data frame with at least the following columns:
#' \tabular{lll}{
#' Name \tab Type \tab Description \cr
Expand Down
1 change: 1 addition & 0 deletions R/whatWQPsites.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#' * element is only in NWIS
#'
#' @export
#' @import utils
#' @examples
#' \dontrun{
#' site1 <- whatWQPsites(siteid="USGS-01594440")
Expand Down
5 changes: 0 additions & 5 deletions man/readNWISdata.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,4 @@ temp <- readNWISdata(bBox=c(-83,36.5,-81,38.5), parameterCd="00010", service="si
\seealso{
\code{\link{renameNWISColumns}}, \code{\link{importWaterML1}}, \code{\link{importRDB1}}
}
\keyword{NWIS}
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}

5 changes: 0 additions & 5 deletions man/whatNWISsites.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,4 @@ Mapper format is used
siteListPhos <- whatNWISsites(stateCd="OH",parameterCd="00665")
}
}
\keyword{NWIS}
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}

2 changes: 1 addition & 1 deletion vignettes/dataRetrieval.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%\VignetteEngine{knitr::knitr}
%\VignetteDepends{}
%\VignetteSuggests{xtable, testthat}
%\VignetteImports{XML, RCurl, reshape2,lubridate,plyr}
%\VignetteImports{XML, RCurl, reshape2,lubridate,plyr,utils,stats}
%\VignettePackage{dataRetrieval}

\documentclass[a4paper,11pt]{article}
Expand Down

0 comments on commit 070b712

Please sign in to comment.