- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'hydrogeofetch/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'hydrogeofetch' version '2.0.3'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'hydrogeofetch' can be installed ... OK
See the install log for details.
- checking installed package size ... 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [3s] OK
- checking whether startup messages can be suppressed ... [3s] 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 ... [19s] OK
- checking Rd files ... [2s] OK
- checking Rd metadata ... 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 ... [1s] 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 ... [4s] ERROR
Running examples in 'hydrogeofetch-Ex.R' failed
The error most likely occurred in:
> ### Name: align_nhdplus_names
> ### Title: Align NHD Dataset Names
> ### Aliases: align_nhdplus_names
>
> ### ** Examples
>
> source(system.file("extdata/new_hope_data.R", package = "hydrogeofetch"))
Error in `httr2::req_perform()`:
! HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/new_hope_data.R", package = "hydrogeofetch"))
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [60s] ERROR
Running 'testthat.R' [60s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library("testthat")
>
> test_check("hydrogeofetch")
Loading required package: hydrogeofetch
Starting 2 test processes.
Saving _problems/test_00_plot_bbox_nhdplus-2.R
Saving _problems/test_00_plot_local_extra_nhdplus-1.R
Saving _problems/test_00_plot_integration_nhdplus-1.R
Saving _problems/test_00_plot_local_nhdplus-1.R
Saving _problems/test_00_plot_nhdplus-2.R
Saving _problems/test_02_subset-33.R
Saving _problems/test_02_subset_extras-2.R
Saving _problems/test_02_subset_extras-66.R
> test_03_get_functions.R: defaulting to 2025 version of WBD
Saving _problems/test_align_nhdplus_names-1.R
> test_get_3dhp.R: `type` input must be one of:
> test_get_3dhp.R: "hydrolocation - sink, spring, waterbody outlet"
> test_get_3dhp.R: "hydrolocation - headwater, terminus, divergence, confluence, catchment outlet"
> test_get_3dhp.R: "hydrolocation - reach code, external connection"
> test_get_3dhp.R: "flowline"
> test_get_3dhp.R: "waterbody"
> test_get_3dhp.R: "catchment"
> 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: Splitting catchments at 1 HUC12 outlet(s)...
> test_get_drainage_area_estimates.R: Navigating network upstream of HUC12 outlets...
> test_get_drainage_area_estimates.R: 2 extra catchments between outlet and HUC12 outlets
> 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
Saving _problems/test_get_nhdplus-3.R
Saving _problems/test_hydrogeofetch-3.R
Saving _problems/test_map_nhdplus-1.R
> test_03_get_functions.R: defaulting to 2025 version of WBD
> test_03_get_functions.R: defaulting to 2025 version of WBD
[ FAIL 12 | WARN 2 | SKIP 34 | PASS 346 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• Set HYDROGEOFETCH_INTEGRATION=true for integration tests (34):
'test_02_subset.R:137:3', 'test_02_subset.R:188:3',
'test_02_subset_extras.R:94:3', 'test_02_subset_extras.R:156:3',
'test_01_get_nldi.R:81:3', 'test_01_get_nldi.R:117:3',
'test_01_get_nldi.R:214:3', 'test_get_3dhp.R:30:3',
'test_get_drainage_area_estimates.R:481:3',
'test_get_drainage_area_estimates.R:557:3',
'test_get_drainage_area_estimates.R:606:3',
'test_get_drainage_area_estimates.R:644:3',
'test_get_drainage_area_estimates.R:982:3',
'test_get_drainage_area_estimates.R:1063:3',
'test_get_drainage_area_estimates.R:1083: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:39:3',
'test_get_vaa.R:90:3', 'test_mainstems.R:46:3',
'test_03_get_functions.R:66:3', 'test_03_get_functions.R:88:3',
'test_03_get_functions.R:183:3', 'test_03_get_functions.R:310:3',
'test_03_get_functions.R:317:3', 'test_03_get_functions.R:351:3',
'test_03_get_functions.R:365:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_00_plot_bbox_nhdplus.R:2:1'): (code run outside of `test_that()`) ──
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_00_plot_bbox_nhdplus.R:2:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_00_plot_local_extra_nhdplus.R:1:1'): (code run outside of `test_that()`) ──
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_00_plot_local_extra_nhdplus.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_00_plot_integration_nhdplus.R:1:1'): (code run outside of `test_that()`) ──
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_00_plot_integration_nhdplus.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_00_plot_local_nhdplus.R:1:1'): (code run outside of `test_that()`) ──
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_00_plot_local_nhdplus.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_00_plot_nhdplus.R:2:1'): (code run outside of `test_that()`) ───
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_00_plot_nhdplus.R:2:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_02_subset.R:33:3'): subset runs as expected ────────────────────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_02_subset.R:33:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_02_subset_extras.R:2:3'): subset by bounding box ───────────────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_02_subset_extras.R:2:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_02_subset_extras.R:66:3'): by rpu ──────────────────────────────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_02_subset_extras.R:66:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_align_nhdplus_names.R:1:1'): (code run outside of `test_that()`) ──
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/new_hope_data.R", package = "hydrogeofetch")) at test_align_nhdplus_names.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_get_nhdplus.R:3:1'): (code run outside of `test_that()`) ───────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "hydrogeofetch")) at test_get_nhdplus.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_hydrogeofetch.R:3:1'): (code run outside of `test_that()`) ─────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "hydrogeofetch")) at test_hydrogeofetch.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test_map_nhdplus.R:1:1'): (code run outside of `test_that()`) ───────
<httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)`: HTTP 404 Not Found.
Backtrace:
▆
1. ├─base::source(system.file("extdata/sample_data.R", package = "hydrogeofetch")) at test_map_nhdplus.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─global download_pkg_data(...)
6. └─httr2::req_perform(httr2::req_retry(httr2::request(url), max_tries = 3), path = d)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
[ FAIL 12 | WARN 2 | SKIP 34 | PASS 346 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6s] OK
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [11s] OK
- DONE
Status: 2 ERRORs