Last updated on 2026-09-06 04:49:05 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.3 | 16.13 | 172.68 | 188.81 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.0.3 | 9.86 | 120.50 | 130.36 | OK | |
| r-devel-linux-x86_64-fedora-clang | 2.0.3 | 11.00 | 115.55 | 126.55 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 2.0.3 | 12.00 | 131.61 | 143.61 | OK | |
| r-devel-windows-x86_64 | 2.0.3 | 18.00 | 190.00 | 208.00 | OK | |
| r-patched-linux-x86_64 | 2.0.3 | 17.22 | 162.19 | 179.41 | OK | |
| r-release-linux-x86_64 | 2.0.3 | 15.19 | 148.00 | 163.19 | ERROR | |
| r-release-macos-arm64 | 2.0.3 | 4.00 | 51.00 | 55.00 | OK | |
| r-release-macos-x86_64 | 2.0.3 | 12.00 | 195.00 | 207.00 | OK | |
| r-release-windows-x86_64 | 2.0.3 | 16.00 | 189.00 | 205.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.3 | 4.00 | 53.00 | 57.00 | OK | |
| r-oldrel-macos-x86_64 | 2.0.3 | 11.00 | 193.00 | 204.00 | OK | |
| r-oldrel-windows-x86_64 | 2.0.3 | 22.00 | 236.00 | 258.00 | OK |
Version: 2.0.3
Check: examples
Result: ERROR
Running examples in ‘hydrogeofetch-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavor: r-release-linux-x86_64
Version: 2.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [40s/50s]
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_integration_nhdplus-1.R
Saving _problems/test_00_plot_local_extra_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_rescale_catchments.R: characteristics service returned NULL, testing cached-input path only
> 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 345 ]
══ 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_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_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_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 345 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64