Skip to content
Snippets Groups Projects
Commit ebe14054 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Merge branch 'master' of github.com:ldecicco-USGS/dataRetrieval

parents fc1e9480 92076b30
No related branches found
No related tags found
1 merge request!87Updated documentation
......@@ -37,5 +37,5 @@ test_that("General WQP retrievals working", {
# nutrientDaneCounty <- readWQPdata(countycode="US:55:025",startDate=startDate,
# characteristicType="Nutrient")
# expect_is(nutrientDaneCounty$ActivityStartDateTime, 'POSIXct')
})
\ No newline at end of file
expect_that(1==1, is_true())
})
......@@ -121,7 +121,7 @@ context("importWQP_noCRAN")
test_that("External WQP tests", {
testthat::skip_on_cran()
expect_that(1==1, is_true())
# rawSampleURL <- constructWQPURL('USGS-01594440','01075', '', '')
# rawSample <- importWQP(rawSampleURL)
# expect_is(rawSample$ActivityStartDateTime, 'POSIXct')
......@@ -133,4 +133,4 @@ test_that("External WQP tests", {
# STORETex <- constructWQPURL('WIDNR_WQX-10032762','Specific conductance', '', '')
# STORETdata <- importWQP(STORETex)
# expect_is(STORETdata$ActivityStartDateTime, 'POSIXct')
})
\ No newline at end of file
})
......@@ -109,9 +109,9 @@ test_that("NWIS dv tests", {
startDate, endDate, statCd=c('00001','00003'))
expect_that(length(unique(rawDailyMultiSites$site_no)) > 1, is_true())
# Site with no data:
x <- readNWISdv("10258500","00060", "2014-09-08", "2014-09-14")
expect_that(sum(is.na(x$X_00060_00003)) > 0, is_true())
# # Site with no data:
# x <- readNWISdv("10258500","00060", "2015-02-08", "2015-02-14")
# expect_that(sum(is.na(x$X_00060_00003)) > 0, is_true())
site <- "05212700"
notActive <- readNWISdv(site, "00060", "2014-01-01","2014-01-07")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment