Running ‘testthat.R’ [43s/30s]
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_local_extra_nhdplus.R:9:3',
    'test_00_plot_integration_nhdplus.R:6: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_codes.R:4: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_vaa.R:4:3', 'test_get_vaa.R:38:3',
    'test_get_vaa.R:89: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_get_path.R:69:3', 'test_nhdplusTools.R:41:3',
    'test_nhdplusTools.R:50: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