CRAN Package Check Results for Package nhdplusTools

Last updated on 2026-08-10 09:52:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.1 15.96 228.01 243.97 OK
r-devel-linux-x86_64-debian-gcc 1.5.1 10.45 164.30 174.75 OK
r-devel-linux-x86_64-fedora-clang 1.5.1 11.00 154.78 165.78 OK
r-devel-linux-x86_64-fedora-gcc 1.5.1 12.00 175.74 187.74 OK
r-devel-windows-x86_64 1.5.1 17.00 214.00 231.00 OK
r-patched-linux-x86_64 1.5.1 15.86 210.80 226.66 OK
r-release-linux-x86_64 1.5.1 13.81 209.57 223.38 ERROR
r-release-macos-arm64 1.5.1 4.00 58.00 62.00 OK
r-release-macos-x86_64 1.5.1 13.00 408.00 421.00 OK
r-release-windows-x86_64 1.5.1 16.00 219.00 235.00 OK
r-oldrel-macos-arm64 1.5.1 4.00 70.00 74.00 OK
r-oldrel-macos-x86_64 1.5.1 12.00 379.00 391.00 OK
r-oldrel-windows-x86_64 1.5.1 25.00 283.00 308.00 OK

Check Details

Version: 1.5.1
Check: tests
Result: ERROR Running ‘testthat.R’ [60s/44s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > > test_check("nhdplusTools") Loading required package: nhdplusTools Starting 2 test processes. > test_03_get_functions.R: defaulting to 2025 version of WBD Saving _problems/test_03_get_functions-134.R > test_get_drainage_area_estimates.R: Finding immediately-upstream HUC12 outlets... > test_get_drainage_area_estimates.R: Finding immediately-upstream HUC12 outlets... > test_get_drainage_area_estimates.R: Finding immediately-upstream HUC12 outlets... > test_get_drainage_area_estimates.R: Superset union: adding 1 HUC12s from base estimate > test_get_drainage_area_estimates.R: HUC10 from HUC08: 1 HUC12s reused, 1 fetched separately > test_get_drainage_area_estimates.R: Superset union: adding 1 HUC12s from base estimate > test_get_drainage_area_estimates.R: Superset union: adding 1 HUC12s from base estimate > test_get_drainage_area_estimates.R: HUC12 query: 3 HUC12s, total = 3 sq km, contributing = 3 sq km > test_get_drainage_area_estimates.R: HUC10 query: 3 HUC12s, total = 3 sq km, contributing = 3 sq km > test_get_drainage_area_estimates.R: HUC08 query: 3 HUC12s, total = 3 sq km, contributing = 3 sq km > test_get_drainage_area_estimates.R: HUC12 query: 2 HUC12s, total = 2 sq km, contributing = 2 sq km > test_get_drainage_area_estimates.R: Filtered 3 disconnected HUC12s from broader query > test_get_drainage_area_estimates.R: Gage is at the outlet of the flowline (measure 0); no outlet split needed > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off > test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they > test_get_drainage_area_estimates.R: are planar > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off > test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they > test_get_drainage_area_estimates.R: are planar > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off > test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they > test_get_drainage_area_estimates.R: are planar > test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on > test_get_path.R: Dendritic routing will be applied. Diversions are assumed to have 0 flow fraction. > test_get_path.R: Dendritic routing will be applied. Diversions are assumed to have 0 flow fraction. > test_get_path.R: Dendritic routing will be applied. Diversions are assumed to have 0 flow fraction. > test_run_plus_attributes.R: Dendritic routing will be applied. Diversions are assumed to have 0 flow fraction. > test_run_plus_attributes.R: Dendritic routing will be applied. Diversions are assumed to have 0 flow fraction. [ FAIL 1 | WARN 2 | SKIP 68 | PASS 440 ] ══ Skipped tests (68) ══════════════════════════════════════════════════════════ • On CRAN (68): 'test_00_plot_bbox_nhdplus.R:5:3', 'test_00_plot_integration_nhdplus.R:6:3', 'test_00_plot_local_extra_nhdplus.R:9:3', 'test_00_plot_local_nhdplus.R:9: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:143:3', 'test_01_get_nldi.R:179:3', 'test_01_get_nldi.R:228: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_02_subset.R:137:3', 'test_02_subset.R:193:3', 'test_02_subset_extras.R:94:3', 'test_02_subset_extras.R:156:3', 'test_arcrest.R:51:3', 'test_geoconnex.R:3:3', 'test_geoconnex.R:14:3', 'test_get_3dhp.R:3:3', 'test_03_get_functions.R:20:3', 'test_03_get_functions.R:52:3', 'test_03_get_functions.R:75:3', 'test_03_get_functions.R:175:3', 'test_03_get_functions.R:195:3', 'test_03_get_functions.R:266:3', 'test_03_get_functions.R:282:3', 'test_03_get_functions.R:295:3', 'test_03_get_functions.R:313:3', 'test_03_get_functions.R:320:3', 'test_03_get_functions.R:355:3', 'test_03_get_functions.R:371:3', 'test_get_drainage_area_estimates.R:275:3', 'test_get_drainage_area_estimates.R:320:3', 'test_get_drainage_area_estimates.R:358:3', 'test_get_drainage_area_estimates.R:696:3', 'test_get_drainage_area_estimates.R:777:3', 'test_get_drainage_area_estimates.R:797: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_get_vaa.R:89:3', 'test_get_path.R:69: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_index.R:13:5', 'test_index.R:61:3', 'test_rescale_catchments.R:3:3', 'test_run_plus_attributes.R:21:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_03_get_functions.R:131:3'): huc type autodetection from id length ── Error in `dplyr::filter(dplyr::bind_rows(lapply(collections$collections, function(x) c(x[c("id", "title", "description", "itemType")], list(url = filter_list_kvp(x$links, "rel", "self", n = 1)$href)))), .data$itemType == "feature")`: i In argument: `.data$itemType == "feature"`. Caused by error in `.data$itemType`: ! Column `itemType` not found in `.data`. [ FAIL 1 | WARN 2 | SKIP 68 | PASS 440 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64