Last updated on 2026-08-22 01:50:12 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-gcc | 2.0.0 | 9.80 | 123.00 | 132.80 | OK | |
| r-devel-linux-x86_64-fedora-clang | 2.0.1 | 12.00 | 125.20 | 137.20 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 2.0.1 | 12.00 | 133.83 | 145.83 | ERROR | |
| r-release-macos-arm64 | 2.0.1 | 4.00 | 49.00 | 53.00 | OK | |
| r-release-macos-x86_64 | 2.0.1 | 11.00 | 170.00 | 181.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.1 | 4.00 | 59.00 | 63.00 | OK | |
| r-oldrel-macos-x86_64 | 2.0.1 | 11.00 | 233.00 | 244.00 | OK |
Version: 2.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [40s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
>
> test_check("hydrogeofetch")
Loading required package: hydrogeofetch
Starting 2 test processes.
> test_03_get_functions.R: defaulting to 2025 version of WBD
> 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
> test_03_get_functions.R: defaulting to 2025 version of WBD
> test_rescale_catchments.R: characteristics service returned NULL, testing cached-input path only
> test_03_get_functions.R: defaulting to 2025 version of WBD
Saving _problems/test_03_get_functions-269.R
Saving _problems/test_03_get_functions-270.R
Saving _problems/test_03_get_functions-272.R
[ FAIL 3 | WARN 12 | SKIP 47 | PASS 440 ]
══ Skipped tests (47) ══════════════════════════════════════════════════════════
• Set HYDROGEOFETCH_INTEGRATION=true for integration tests (47):
'test_00_plot_bbox_nhdplus.R:5:3', 'test_00_plot_local_extra_nhdplus.R:8:3',
'test_00_plot_integration_nhdplus.R:5:3', 'test_00_plot_local_nhdplus.R:8:3',
'test_00_plot_nhdplus.R:6:3', 'test_00_plot_nhdplus.R:90:3',
'test_00_plot_nhdplus.R:134:3', 'test_00_plot_nhdplus.R:164:3',
'test_00_plot_nhdplus.R:201:3', 'test_01_get_nldi.R:81:3',
'test_01_get_nldi.R:117:3', 'test_01_get_nldi.R:214:3',
'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_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_nhdplus.R:43: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_hydrogeofetch.R:41:3', 'test_hydrogeofetch.R:57:3',
'test_mainstems.R:46:3', 'test_map_nhdplus.R:4: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 ════════════════════════════════════════════════════════════════
── Failure ('test_03_get_functions.R:269:5'): nhdarea ──────────────────────────
Expected `nhdarea$ftype` to equal "Submerged Stream".
Differences:
`actual` is NULL
`expected` is a character vector ('Submerged Stream')
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(nhdarea$ftype, "Submerged Stream") at test_03_get_functions.R:269:5
── Failure ('test_03_get_functions.R:270:5'): nhdarea ──────────────────────────
Expected `sf::st_crs(nhdarea)$epsg` to equal 4326.
Differences:
`actual` is a character vector (NA)
`expected` is a double vector (4326)
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(sf::st_crs(nhdarea)$epsg, 4326) at test_03_get_functions.R:270:5
── Failure ('test_03_get_functions.R:272:5'): nhdarea ──────────────────────────
Expected `sf::st_crs(nhdarea5070)$epsg` to equal 5070.
Differences:
`actual` is a character vector (NA)
`expected` is a double vector (5070)
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(sf::st_crs(nhdarea5070)$epsg, 5070) at test_03_get_functions.R:272:5
[ FAIL 3 | WARN 12 | SKIP 47 | PASS 440 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [45s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
>
> test_check("hydrogeofetch")
Loading required package: hydrogeofetch
Starting 2 test processes.
> test_03_get_functions.R: defaulting to 2025 version of WBD
> 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_03_get_functions.R: defaulting to 2025 version of WBD
> test_03_get_functions.R: defaulting to 2025 version of WBD
> 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
Saving _problems/test_03_get_functions-269.R
Saving _problems/test_03_get_functions-270.R
Saving _problems/test_03_get_functions-272.R
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off
> test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test_get_drainage_area_estimates.R: are planar
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off
> test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test_get_drainage_area_estimates.R: are planar
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched off
> test_get_drainage_area_estimates.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test_get_drainage_area_estimates.R: are planar
> test_get_drainage_area_estimates.R: Spherical geometry (s2) switched on
> test_rescale_catchments.R: characteristics service returned NULL, testing cached-input path only
[ FAIL 3 | WARN 12 | SKIP 47 | PASS 440 ]
══ Skipped tests (47) ══════════════════════════════════════════════════════════
• Set HYDROGEOFETCH_INTEGRATION=true for integration tests (47):
'test_00_plot_bbox_nhdplus.R:5:3', 'test_00_plot_integration_nhdplus.R:5:3',
'test_00_plot_local_extra_nhdplus.R:8:3', 'test_00_plot_local_nhdplus.R:8:3',
'test_00_plot_nhdplus.R:6:3', 'test_00_plot_nhdplus.R:90:3',
'test_00_plot_nhdplus.R:134:3', 'test_00_plot_nhdplus.R:164:3',
'test_00_plot_nhdplus.R:201:3', 'test_01_get_nldi.R:81:3',
'test_01_get_nldi.R:117:3', 'test_01_get_nldi.R:214:3',
'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_get_3dhp.R:30: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',
'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_get_nhdplus.R:43:3',
'test_hydrogeofetch.R:41:3', 'test_hydrogeofetch.R:57:3',
'test_map_nhdplus.R:4:3', 'test_mainstems.R:46:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_03_get_functions.R:269:5'): nhdarea ──────────────────────────
Expected `nhdarea$ftype` to equal "Submerged Stream".
Differences:
`actual` is NULL
`expected` is a character vector ('Submerged Stream')
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(nhdarea$ftype, "Submerged Stream") at test_03_get_functions.R:269:5
── Failure ('test_03_get_functions.R:270:5'): nhdarea ──────────────────────────
Expected `sf::st_crs(nhdarea)$epsg` to equal 4326.
Differences:
`actual` is a character vector (NA)
`expected` is a double vector (4326)
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(sf::st_crs(nhdarea)$epsg, 4326) at test_03_get_functions.R:270:5
── Failure ('test_03_get_functions.R:272:5'): nhdarea ──────────────────────────
Expected `sf::st_crs(nhdarea5070)$epsg` to equal 5070.
Differences:
`actual` is a character vector (NA)
`expected` is a double vector (5070)
Backtrace:
▆
1. ├─hydrogeofetch:::with_mock_hgf(...) at test_03_get_functions.R:264:3
2. │ └─httptest2::with_mock_dir(...) at ./helper.R:106:5
3. │ ├─httptest2:::with_mock_path(...)
4. │ │ └─base::eval.parent(expr)
5. │ │ └─base::eval(expr, p)
6. │ └─httptest2::with_mock_api(expr)
7. │ └─base::eval.parent(expr)
8. │ └─base::eval(expr, p)
9. └─testthat::expect_equal(sf::st_crs(nhdarea5070)$epsg, 5070) at test_03_get_functions.R:272:5
[ FAIL 3 | WARN 12 | SKIP 47 | PASS 440 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc