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
4ce7ac1f
Commit
4ce7ac1f
authored
Jul 05, 2021
by
Laura A DeCicco
Browse files
Not sure why this should be a numeric
parent
31619aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testthat/tests_userFriendly_fxns.R
View file @
4ce7ac1f
...
...
@@ -206,7 +206,7 @@ test_that("readNWISuse tests", {
testthat
::
skip_on_cran
()
dc
<-
readNWISuse
(
years
=
c
(
2000
,
2005
,
2010
),
stateCd
=
"DC"
,
countyCd
=
NULL
)
expect_true
(
nrow
(
dc
)
==
3
)
expect_is
(
dc
$
state_cd
,
'
numeric
'
)
expect_is
(
dc
$
state_cd
,
'
character
'
)
ohio
<-
readNWISuse
(
years
=
2005
,
stateCd
=
"OH"
,
countyCd
=
"ALL"
)
expect_true
(
nrow
(
ohio
)
==
88
)
...
...
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