- using R Under development (unstable) (2025-11-13 r89015)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘nhdplusTools/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘nhdplusTools’ version ‘1.3.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘nhdplusTools’ can be installed ... [24s/69s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [4s/13s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/11s] OK
- checking whether the package can be unloaded cleanly ... [4s/12s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/10s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/11s] OK
- checking loading without being on the library search path ... [4s/16s] OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [33s/90s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [21s/62s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [98s/139s] ERROR
Running ‘testthat.R’ [97s/138s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
>
> test_check("nhdplusTools")
Loading required package: nhdplusTools
Starting 2 test processes.
> test_02_subset.R: All intersections performed in latitude/longitude.
> test_02_subset.R: All intersections performed in latitude/longitude.
> test_02_subset.R: All intersections performed in latitude/longitude.
> test_02_subset.R: All intersections performed in latitude/longitude.
Saving _problems/test_02_subset_extras-75.R
[ FAIL 1 | WARN 0 | SKIP 58 | PASS 315 ]
══ Skipped tests (58) ══════════════════════════════════════════════════════════
• On CRAN (58): 'test_00_plot_bbox_nhdplus.R:5:3',
'test_00_plot_local_extra_nhdplus.R:9:3',
'test_00_plot_integration_nhdplus.R:6:3', 'test_00_plot_local_nhdplus.R:9:3',
'test_00_plot_nhdplus.R:6:3', 'test_00_plot_nhdplus.R:90:3',
'test_00_plot_nhdplus.R:134:3', 'test_00_plot_nhdplus.R:164:3',
'test_00_plot_nhdplus.R:201:3', 'test_01_get_nldi.R:5:3',
'test_01_get_nldi.R:25:3', 'test_01_get_nldi.R:85:3',
'test_01_get_nldi.R:122:3', 'test_01_get_nldi.R:140:3',
'test_01_get_nldi.R:176:3', 'test_01_get_nldi.R:224:3',
'test_02_subset.R:135:3', 'test_02_subset.R:191:3',
'test_03_get_functions.R:21:3', 'test_03_get_functions.R:48:3',
'test_03_get_functions.R:71:3', 'test_03_get_functions.R:122:3',
'test_03_get_functions.R:193:3', 'test_03_get_functions.R:209:3',
'test_03_get_functions.R:222:3', 'test_03_get_functions.R:240:3',
'test_03_get_functions.R:247:3', 'test_02_subset_extras.R:94:3',
'test_02_subset_extras.R:149:3', 'test_arcrest.R:58:3',
'test_geoconnex.R:3:3', 'test_geoconnex.R:14:3', 'test_get_3dhp.R:3:3',
'test_get_nhdphr.R:3:3', 'test_get_nhdplus.R:8:3', 'test_get_nhdplus.R:29:3',
'test_get_nhdplus.R:49:3', 'test_get_nhdplushr.R:3:3',
'test_get_nhdplushr.R:23:3', 'test_get_nhdplushr.R:53:3',
'test_get_nhdplushr.R:80:3', 'test_get_nhdplushr.R:101:3',
'test_get_nhdplushr.R:147:3', 'test_get_nhdplushr.R:174:3',
'test_get_nhdplushr.R:196:3', 'test_get_codes.R:4:3', 'test_get_vaa.R:4:3',
'test_get_vaa.R:38:3', 'test_index.R:13:5', 'test_index.R:61:3',
'test_map_nhdplus.R:4:3', 'test_navigate.R:4:3', 'test_navigate.R:71:3',
'test_nhdplusTools.R:41:3', 'test_nhdplusTools.R:50:3',
'test_get_path.R:69:3', 'test_rescale_catchments.R:3:3',
'test_run_plus_attributes.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_02_subset_extras.R:75:3'): by rpu ──────────────────────────────
Error in `expect(nrow(out), 267)`: `ok` must be `TRUE` or `FALSE`, not the number 267.
Backtrace:
▆
1. └─testthat::expect(ok = nrow(out)) at test_02_subset_extras.R:75:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 1 | WARN 0 | SKIP 58 | PASS 315 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [57s/162s] OK
- checking PDF version of manual ... [11s/27s] OK
- checking HTML version of manual ... [8s/30s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR