CRAN Package Check Results for Maintainer ‘Marc Weber <weber.marc at epa.gov>’

Last updated on 2025-09-16 12:52:43 CEST.

Package ERROR NOTE OK
StreamCatTools 4 3 6

Package StreamCatTools

Current CRAN status: ERROR: 4, NOTE: 3, OK: 6

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/109s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(StreamCatTools) > > test_check("StreamCatTools") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sc_get_params.R:22:3'): sc_get_params for metric_names parameters ── length(params) not equal to 1021. 1/1 mismatches [1] 1129 - 1021 == 108 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/107s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(StreamCatTools) > > test_check("StreamCatTools") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sc_get_params.R:22:3'): sc_get_params for metric_names parameters ── length(params) not equal to 1021. 1/1 mismatches [1] 1129 - 1021 == 108 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/100s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(StreamCatTools) > > test_check("StreamCatTools") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sc_get_params.R:22:3'): sc_get_params for metric_names parameters ── length(params) not equal to 1021. 1/1 mismatches [1] 1129 - 1021 == 108 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 71 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.6.0
Check: examples
Result: ERROR Running examples in 'StreamCatTools-Ex.R' failed The error most likely occurred in: > ### Name: sc_fullname > ### Title: Lookup Full Metric Name > ### Aliases: sc_fullname > > ### ** Examples > > fullname <- sc_fullname(metric='clay') Warning in open.connection(con, "rb") : URL 'https://api.epa.gov/StreamCat/streams/datadictionary': Timeout of 60 seconds was reached Error in open.connection(con, "rb") : cannot open the connection to 'https://api.epa.gov/StreamCat/streams/datadictionary' Calls: sc_fullname ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection Execution halted Flavor: r-release-windows-x86_64

Version: 0.6.0
Check: tests
Result: ERROR Running 'testthat.R' [253s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(StreamCatTools) > > test_check("StreamCatTools") [ FAIL 2 | WARN 2 | SKIP 0 | PASS 66 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-lc_get_params.R:33:3'): lc_get_params for county parameters ──── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.epa.gov/StreamCat/lakes/metrics' Backtrace: ▆ 1. └─StreamCatTools::lc_get_params(param = "county") at test-lc_get_params.R:33:3 2. └─jsonlite::fromJSON("https://api.epa.gov/StreamCat/lakes/metrics") 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") ── Error ('test-sc_getdata.R:28:3'): sc_get_data for a hydroregion and ws metrics returns a data frame ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.epa.gov/StreamCat/streams/metrics' Backtrace: ▆ 1. └─StreamCatTools::sc_get_data(...) at test-sc_getdata.R:28:3 2. └─StreamCatTools::sc_get_params(param = "metric_names") 3. └─jsonlite::fromJSON("https://api.epa.gov/StreamCat/streams/metrics") 4. └─jsonlite:::parse_and_simplify(...) 5. └─jsonlite:::parseJSON(txt, bigint_as_char) 6. └─jsonlite:::parse_con(txt, bigint_as_char) 7. ├─base::open(con, "rb") 8. └─base::open.connection(con, "rb") [ FAIL 2 | WARN 2 | SKIP 0 | PASS 66 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.6.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Applications.Rmd' using rmarkdown --- finished re-building 'Applications.Rmd' --- re-building 'Introduction.Rmd' using rmarkdown Quitting from Introduction.Rmd:53-60 [params] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `open.connection()`: ! cannot open the connection to 'https://api.epa.gov/StreamCat/streams/metrics' --- Backtrace: ▆ 1. └─StreamCatTools::sc_get_params(param = "metric_names") 2. └─jsonlite::fromJSON("https://api.epa.gov/StreamCat/streams/metrics") 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Introduction.Rmd' failed with diagnostics: cannot open the connection to 'https://api.epa.gov/StreamCat/streams/metrics' --- failed re-building 'Introduction.Rmd' --- re-building 'LakeCat.Rmd' using rmarkdown Quitting from LakeCat.Rmd:53-56 [params2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `open.connection()`: ! cannot open the connection to 'https://api.epa.gov/StreamCat/lakes/metrics' --- Backtrace: ▆ 1. └─StreamCatTools::lc_get_params(param = "variable_info") 2. └─jsonlite::fromJSON("https://api.epa.gov/StreamCat/lakes/metrics") 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'LakeCat.Rmd' failed with diagnostics: cannot open the connection to 'https://api.epa.gov/StreamCat/lakes/metrics' --- failed re-building 'LakeCat.Rmd' SUMMARY: processing the following files failed: 'Introduction.Rmd' 'LakeCat.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-release-windows-x86_64

Version: 0.7.0
Check: installed package size
Result: NOTE installed size is 5.1Mb sub-directories of 1Mb or more: doc 4.4Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.6.0
Check: installed package size
Result: NOTE installed size is 5.0Mb sub-directories of 1Mb or more: doc 4.4Mb Flavor: r-oldrel-windows-x86_64