Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Water
dataRetrieval
Commits
634b3eb1
Commit
634b3eb1
authored
Dec 22, 2021
by
Laura A DeCicco
Browse files
Add a test
parent
0142053a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testthat/tests_general.R
View file @
634b3eb1
...
...
@@ -97,6 +97,14 @@ test_that("General NWIS retrievals working", {
"update_time"
,
"url"
)))
multi_hucs
<-
c
(
"07130007"
,
"07130011"
)
multi_huc
<-
dataRetrieval
::
readNWISdata
(
huc
=
multi_hucs
,
parameterCd
=
"63680"
,
startDate
=
"2015-06-18"
,
endDate
=
"2015-06-18"
,
service
=
"dv"
)
expect_equal
(
2
,
nrow
(
multi_huc
))
})
test_that
(
"whatNWISdata"
,{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment