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
895a6778
Commit
895a6778
authored
Sep 07, 2021
by
Laura A DeCicco
Browse files
Empty wml1 tests now have names
parent
b4964fb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testthat/tests_imports.R
View file @
895a6778
...
...
@@ -130,7 +130,7 @@ test_that("External importWaterML1 test", {
url
<-
constructNWISURL
(
"05212700"
,
"00060"
,
"2014-01-01"
,
"2014-01-10"
,
'dv'
,
statCd
=
"00001"
)
noData
<-
importWaterML1
(
url
)
expect_true
(
class
(
attr
(
noData
,
"url"
))
==
"character"
)
expect_true
(
all
(
dim
(
noData
)
==
0
))
expect_true
(
all
(
dim
(
noData
)
==
c
(
0
,
4
)
))
url
<-
constructNWISURL
(
service
=
'iv'
,
site
=
c
(
'02319300'
,
'02171500'
),
startDate
=
"2015-04-04"
,
endDate
=
"2015-04-05"
)
...
...
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