Last updated on 2025-12-08 19:50:37 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| hyd1d | 1 | 12 | |
| hydflood | 1 | 12 |
Current CRAN status: NOTE: 1, OK: 12
Version: 0.5.3
Check: Rd files
Result: NOTE
checkRd: (-1) df.flys.Rd:31: height/width attributes should be in pixels
Flavor: r-devel-linux-x86_64-debian-clang
Current CRAN status: ERROR: 1, OK: 12
Version: 0.5.10
Check: tests
Result: ERROR
Running 'testthat.R' [16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(hydflood)
Loading required package: sf
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
Loading required package: terra
terra 1.8.86
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
Loading required package: raster
Loading required package: sp
Loading required package: hyd1d
'df.gauging_data' locally stored at
D:\temp\2025_12_05_01_50_00_7414\RtmpAdXrA0/df.gauging_data_latest.RDS
was last downloaded 2025-12-05 08:55:17 CET
>
> test_check("hydflood")
Saving _problems/test_waterDepth-18.R
[ FAIL 1 | WARN 1 | SKIP 9 | PASS 15 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• empty test (9): 'test_flood1.R:6:1', 'test_flood1.R:95:1',
'test_flood1.R:116:1', 'test_flood2.R:6:1', 'test_flood2.R:66:1',
'test_flood2.R:87:1', 'test_flood3.R:6:1', 'test_flood3.R:76:1',
'test_waterDepth.R:173:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_waterDepth.R:17:5'): waterDepth: checks ────────────────────────
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(crs = crs("EPSG:25833")) at test_waterDepth.R:17:5
2. ├─terra::rast(crs = crs("EPSG:25833"))
3. │ └─terra (local) .local(x = x, ...)
4. │ └─terra:::new_rast(...)
5. │ └─terra:::character_crs(crs, "rast")
6. ├─terra::crs("EPSG:25833")
7. └─terra::crs("EPSG:25833")
8. └─terra (local) .local(x, ...)
9. ├─terra::rast(crs = x)
10. └─terra::rast(crs = x)
11. └─terra (local) .local(x = x, ...)
12. └─terra:::new_rast(...)
13. └─terra:::messages(r, "rast")
14. └─terra:::error(f, x@pntr$getError())
[ FAIL 1 | WARN 1 | SKIP 9 | PASS 15 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.