* using log directory ‘/data/gannet/ripley/R/packages/tests-ATLAS/StreamCatTools.Rcheck’ * using R Under development (unstable) (2026-05-19 r90065) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-05-20 09:43:16 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘StreamCatTools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘StreamCatTools’ version ‘0.11.0’ * 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 ‘StreamCatTools’ can be installed ... [12s/22s] OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [15s/19s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [3s/10s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [0m/24m] [0m/24m] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(StreamCatTools) > > test_check("StreamCatTools") Saving _problems/test-lc_get_comid-8.R [ FAIL 1 | WARN 1 | SKIP 36 | PASS 4 ] ══ Skipped tests (36) ══════════════════════════════════════════════════════════ • On CRAN (36): 'test-lc_get_nlcd.R:5:3', 'test-lc_get_nlcd.R:14:3', 'test-lc_get_params.R:4:3', 'test-lc_get_params.R:11:3', 'test-lc_get_params.R:18:3', 'test-lc_get_params.R:28:3', 'test-lc_get_params.R:35:3', 'test-lc_get_params.R:42:3', 'test-lc_get_params.R:50:3', 'test-lc_get_watershed.R:4:3', 'test-lc_getdata.R:5:3', 'test-lc_getdata.R:14:3', 'test-lc_getdata.R:23:3', 'test-lc_getdata.R:32:3', 'test-lc_plot.R:5:3', 'test-sc_get_nlcd.R:5:3', 'test-sc_get_nlcd.R:14:3', 'test-sc_get_nni.R:5:3', 'test-sc_get_nni.R:14:3', 'test-sc_get_params.R:5:3', 'test-sc_get_params.R:12:3', 'test-sc_get_params.R:22:3', 'test-sc_get_params.R:29:3', 'test-sc_get_params.R:36:3', 'test-sc_get_params.R:43:3', 'test-sc_get_params.R:50:3', 'test-sc_get_params.R:58:3', 'test-sc_get_params.R:66:3', 'test-sc_get_params.R:76:3', 'test-sc_getdata.R:4:3', 'test-sc_getdata.R:12:3', 'test-sc_getdata.R:22:3', 'test-sc_getdata.R:31:3', 'test-sc_getdata.R:40:3', 'test-sc_getdata.R:49:3', 'test-sc_plot.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-lc_get_comid.R:8:3'): lc_get_comid for sample coordinates ────── Error in `if (!is.null(out[[i]]) && inherits(out[[i]], "sf") & nrow(out[[i]]) == limit) { offset <- offset + limit }`: argument is of length zero Backtrace: ▆ 1. └─StreamCatTools::lc_get_comid(lakes) at test-lc_get_comid.R:8:3 2. ├─base::do.call(...) 3. └─base::lapply(...) 4. └─StreamCatTools (local) FUN(X[[i]], ...) 5. └─nhdplusTools::get_waterbodies(dd[i, ]) 6. ├─nhdplusTools:::query_usgs_oafeat(...) 7. │ ├─base::withVisible(eval(mc, parent.frame())) 8. │ └─base::eval(mc, parent.frame()) 9. │ └─base::eval(mc, parent.frame()) 10. └─nhdplusTools (local) ``(...) 11. └─nhdplusTools:::get_oafeat(...) 12. └─nhdplusTools:::get_features_paging(...) [ FAIL 1 | WARN 1 | SKIP 36 | PASS 4 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [17s/47s] OK * checking PDF version of manual ... [8s/15s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-ATLAS/StreamCatTools.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 27:27.84, 118.63 + 14.08