CRAN Package Check Results for Package hydroloom

Last updated on 2026-09-11 17:50:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 11.37 183.88 195.25 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.1 9.06 125.21 134.27 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.1 8.00 123.04 131.04 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.1 8.00 120.46 128.46 ERROR
r-devel-windows-x86_64 1.2.1 14.00 192.00 206.00 ERROR
r-patched-linux-x86_64 1.2.1 11.42 172.60 184.02 ERROR
r-release-linux-x86_64 1.2.1 9.06 172.18 181.24 ERROR
r-release-macos-arm64 1.2.1 3.00 61.00 64.00 OK
r-release-macos-x86_64 1.2.1 8.00 234.00 242.00 OK
r-release-windows-x86_64 1.2.1 13.00 193.00 206.00 ERROR
r-oldrel-macos-arm64 1.2.1 OK
r-oldrel-macos-x86_64 1.2.1 8.00 375.00 383.00 OK
r-oldrel-windows-x86_64 1.2.1 19.00 248.00 267.00 ERROR

Additional issues

M1mac

Check Details

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/home/hornik/tmp/scratch/RtmpULQDWF/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed add_measures 10.184 0.112 11.087 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [68s/100s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.3 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1.6 seconds... Request failed [404]. Retrying in 2.5 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.7 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.4 seconds... Request failed [404]. Retrying in 2.4 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpm697Vg/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/home/hornik/tmp/scratch/Rtmpm697Vg/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpm697Vg/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpm697Vg/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpm697Vg/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/home/hornik/tmp/scratch/Rtmp5hHiW4/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed add_measures 7.287 0.106 9.51 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [44s/76s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 3.7 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1.2 seconds... Request failed [404]. Retrying in 3.1 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1.9 seconds... Request failed [404]. Retrying in 3.2 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.7 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.4 seconds... Request failed [404]. Retrying in 1.7 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmp2jiNDw/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/home/hornik/tmp/scratch/Rtmp2jiNDw/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmp2jiNDw/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmp2jiNDw/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmp2jiNDw/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/tmp/RtmpGNqocA/working_dir/RtmpWLbEty/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [45s/58s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.5 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1.8 seconds... Request failed [404]. Retrying in 1.5 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.5 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpGNqocA/working_dir/Rtmpcp2mB2/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/tmp/RtmpGNqocA/working_dir/Rtmpcp2mB2/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpGNqocA/working_dir/Rtmpcp2mB2/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpGNqocA/working_dir/Rtmpcp2mB2/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpGNqocA/working_dir/Rtmpcp2mB2/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/tmp/RtmpOP1mdP/working_dir/RtmpHHr9g6/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/59s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 3.7 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.4 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.6 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1.6 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.1 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpOP1mdP/working_dir/RtmpZpYy6r/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/tmp/RtmpOP1mdP/working_dir/RtmpZpYy6r/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpOP1mdP/working_dir/RtmpZpYy6r/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpOP1mdP/working_dir/RtmpZpYy6r/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/tmp/RtmpOP1mdP/working_dir/RtmpZpYy6r/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.2.1
Check: examples
Result: ERROR Running examples in 'hydroloom-Ex.R' failed The error most likely occurred in: > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: 'nhdplusTools' The following object is masked from 'package:hydroloom': make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "D:\temp\2026_09_07_09_29_56_3012\RtmpQdzW1s\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.2.1
Check: tests
Result: ERROR Running 'testthat.R' [67s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1.7 seconds... Request failed [404]. Retrying in 1.8 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1.9 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1.3 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.1 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_07_09_29_56_3012\RtmpAVpI3u\nhdplusTools\3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `D:\temp\2026_09_07_09_29_56_3012\RtmpAVpI3u\nhdplusTools\03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_07_09_29_56_3012\RtmpAVpI3u\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_07_09_29_56_3012\RtmpAVpI3u\nhdplusTools\sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_07_09_29_56_3012\RtmpAVpI3u\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/home/hornik/tmp/scratch/RtmpDCeKSP/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed add_measures 9.762 0.128 10.871 Flavor: r-patched-linux-x86_64

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [64s/101s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.9 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1.7 seconds... Request failed [404]. Retrying in 2.3 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1.2 seconds... Request failed [404]. Retrying in 3.3 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.2 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.5 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpvq5v1N/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/home/hornik/tmp/scratch/Rtmpvq5v1N/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpvq5v1N/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpvq5v1N/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/Rtmpvq5v1N/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: ‘nhdplusTools’ The following object is masked from ‘package:hydroloom’: make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "/home/hornik/tmp/scratch/RtmpFGumiL/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed add_measures 10.069 0.104 10.913 Flavor: r-release-linux-x86_64

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [63s/92s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 2.8 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1.4 seconds... Request failed [404]. Retrying in 2.1 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.9 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1.2 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 3.4 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/RtmpsynVlO/nhdplusTools/3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `/home/hornik/tmp/scratch/RtmpsynVlO/nhdplusTools/03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/RtmpsynVlO/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/RtmpsynVlO/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/RtmpsynVlO/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 1.2.1
Check: examples
Result: ERROR Running examples in 'hydroloom-Ex.R' failed The error most likely occurred in: > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: 'nhdplusTools' The following object is masked from 'package:hydroloom': make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp8gouEB\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-release-windows-x86_64

Version: 1.2.1
Check: tests
Result: ERROR Running 'testthat.R' [72s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1.5 seconds... Request failed [404]. Retrying in 1.9 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1.7 seconds... Request failed [404]. Retrying in 2.4 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1.8 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1.3 seconds... Request failed [404]. Retrying in 3.9 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.8 seconds... Request failed [404]. Retrying in 1.7 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp8ktAXy\nhdplusTools\3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `D:\temp\2026_09_09_01_50_00_18435\Rtmp8ktAXy\nhdplusTools\03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp8ktAXy\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp8ktAXy\nhdplusTools\sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp8ktAXy\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 1.2.1
Check: examples
Result: ERROR Running examples in 'hydroloom-Ex.R' failed The error most likely occurred in: > ### Name: disambiguate_indexes > ### Title: Disambiguate Flowline Indexes > ### Aliases: disambiguate_indexes > > ### ** Examples > > if (require(nhdplusTools)) { + source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) + + hydro_location <- sf::st_sf(id = c(1, 2, 3), + geom = sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328)), + sf::st_point(c(-76.91711, 39.40884)), + sf::st_point(c(-76.88081, 39.36354))), + crs = 4326), + totda = c(23.6, 7.3, 427.9), + nameid = c("Patapsco", "", "Falls Run River")) + + indexes <- index_points_to_lines(sample_flines, + hydro_location, + search_radius = units::set_units(0.2, "degrees"), + max_matches = 10) + + disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, TotDASqKM), + dplyr::select(hydro_location, id, totda)) + + result <- disambiguate_indexes(indexes, + dplyr::select(sample_flines, COMID, GNIS_NAME), + dplyr::select(hydro_location, id, nameid)) + + result[result$point_id == 1, ] + + result[result$point_id == 2, ] + + result[result$point_id == 3, ] + } Loading required package: nhdplusTools nhdplusTools has been superseded by hydrogeofetch and will be archived from CRAN in October 2027. Please migrate to: Blodgett, D. 2026, hydrogeofetch: Hydrologic Geospatial Fabric Extraction Tool Chain, https://doi.org/10.5066/P13UWPUR Attaching package: 'nhdplusTools' The following object is masked from 'package:hydroloom': make_node_topology Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1.5 seconds... Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\RtmpszRbZJ\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.2.1
Check: tests
Result: ERROR Running 'testthat.R' [92s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |== | 3% | |===================== | 31% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |================ | 23% | |=========================================== | 61% | |================================================================= | 94% | |======================================================================| 100% | | | 0% | |==================== | 29% | |========================================================== | 82% | |===================================================================== | 98% | |======================================================================| 100% Request failed [404]. Retrying in 1.3 seconds... Request failed [404]. Retrying in 2.1 seconds... Saving _problems/test_add_measures-35.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_add_pfafstetter-7.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 3.6 seconds... Saving _problems/test_get_hydro_location-4.R Request failed [404]. Retrying in 1 seconds... Request failed [404]. Retrying in 1 seconds... Saving _problems/test_index-6.R Request failed [404]. Retrying in 1.6 seconds... Request failed [404]. Retrying in 1.7 seconds... Saving _problems/test_index-57.R converting hy_node to hy_topo via add_toids(). For large networks, call add_toids() explicitly to avoid repeated conversion. [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_add_levelpaths.R:163:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_add_measures.R:35:3'): mainstem ──────────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp0ICqiW\nhdplusTools\3dhp_yahara_flowlines.geojson"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_3dhp_data) at test_add_measures.R:35:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_add_pfafstetter.R:7:3'): get_pfaf ────────────────────────────── Error in `zip::unzip(d, exdir = work_dir)`: Cannot open zip file `D:\temp\2026_09_09_01_50_00_18435\Rtmp0ICqiW\nhdplusTools\03_sub.zip` Backtrace: ▆ 1. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools")) at test_add_pfafstetter.R:7:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. ├─global download_pkg_data(...) 6. │ └─zip::unzip(d, exdir = work_dir) 7. │ └─zip:::call_with_cleanup(...) 8. │ └─base::withCallingHandlers(...) 9. └─base::.handleSimpleError(...) 10. └─zip (local) h(simpleError(msg, call)) ── Error ('test_get_hydro_location.R:4:3'): get location ─────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp0ICqiW\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_hydro_location.R:4:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:6:3'): index to waterbodies ──────────────────────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp0ICqiW\nhdplusTools\sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_index.R:6:3 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ── Error ('test_index.R:57:3'): (code run outside of `test_that()`) ──────────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "D:\temp\2026_09_09_01_50_00_18435\Rtmp0ICqiW\nhdplusTools\petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:57:3 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg")) 6. ├─sf::st_read(...) 7. └─sf:::st_read.character(...) 8. └─sf:::CPL_read_ogr(...) [ FAIL 5 | WARN 16 | SKIP 1 | PASS 657 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64