Last updated on 2025-10-16 05:51:48 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
StreamCatTools | 5 | 3 | 5 |
Current CRAN status: ERROR: 5, NOTE: 3, OK: 5
Version: 0.8.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/347s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(StreamCatTools)
>
> test_check("StreamCatTools")
[ FAIL 3 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lc_get_params.R:18:3'): lc_get_metric_names ──────────────────
nrow(metrics) is not strictly more than 70. Difference: -35
── Error ('test-lc_get_params.R:25:3'): lc_get_params for area of interest 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 = "aoi") at test-lc_get_params.R:25: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:36:3'): sc_get_data for a county 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:36: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 3 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.8.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/102s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(StreamCatTools)
>
> test_check("StreamCatTools")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lc_get_params.R:18:3'): lc_get_metric_names ──────────────────
nrow(metrics) is not strictly more than 70. Difference: -35
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.8.0
Check: tests
Result: ERROR
Running 'testthat.R' [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 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lc_get_params.R:18:3'): lc_get_metric_names ──────────────────
nrow(metrics) is not strictly more than 70. Difference: -35
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.8.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/91s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(StreamCatTools)
>
> test_check("StreamCatTools")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lc_get_params.R:18:3'): lc_get_metric_names ──────────────────
nrow(metrics) is not strictly more than 70. Difference: -35
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.8.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(StreamCatTools)
>
> test_check("StreamCatTools")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lc_get_params.R:18:3'): lc_get_metric_names ──────────────────
nrow(metrics) is not strictly more than 70. Difference: -35
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.8.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-windows-x86_64
Version: 0.9.0
Check: installed package size
Result: NOTE
installed size is 5.1Mb
sub-directories of 1Mb or more:
doc 4.4Mb
Flavor: r-oldrel-macos-x86_64