Last updated on 2025-12-03 05:50:39 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| hyd1d | 1 | 5 | 7 |
| hydflood | 1 | 12 |
Current CRAN status: ERROR: 1, NOTE: 5, OK: 7
Version: 0.5.3
Check: Rd files
Result: NOTE
checkRd: (-1) df.flys.Rd:31: height/width attributes should be in pixels
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Version: 0.5.3
Check: examples
Result: ERROR
Running examples in ‘hyd1d-Ex.R’ failed
The error most likely occurred in:
> ### Name: getPegelonlineW
> ### Title: Get W from pegelonline.wsv.de for the specified gauging station
> ### and time
> ### Aliases: getPegelonlineW
>
> ### ** Examples
>
> ## Don't show:
> if (hyd1d:::.pegelonline_status()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ getPegelonlineW(gauging_station = "DESSAU", time = Sys.time() - 3600)
+ getPegelonlineW(gauging_station = "DESSAU", time = Sys.Date() - 1)
+ ## Don't show:
+ }) # examplesIf
> getPegelonlineW(gauging_station = "DESSAU", time = Sys.time() - 3600)
Error in xy.coords(x, y, setLab = FALSE) :
'x' is a list, but does not have components 'x' and 'y'
Calls: <Anonymous> ... getPegelonlineW -> <Anonymous> -> regularize.values -> xy.coords
Execution halted
Flavor: r-release-macos-arm64
Version: 0.5.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘hyd1d.Rmd’ using rmarkdown
Quitting from hyd1d.Rmd:359-390 [figure2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (length(s_gauging_stations_missing) == 1 & is.na(s_gauging_stations_missing)) ...`:
! the condition has length > 1
---
Backtrace:
▆
1. ├─base::summary(wldf)
2. └─hyd1d:::summary.WaterLevelDataFrame(wldf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'hyd1d.Rmd' failed with diagnostics:
the condition has length > 1
--- failed re-building ‘hyd1d.Rmd’
--- re-building ‘vignette_DE.Rmd’ using rmarkdown
Quitting from vignette_DE.Rmd:1172-1198 [figure15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (length(s_gauging_stations_missing) == 1 & is.na(s_gauging_stations_missing)) ...`:
! the condition has length > 1
---
Backtrace:
▆
1. ├─base::summary(wldf)
2. └─hyd1d:::summary.WaterLevelDataFrame(wldf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vignette_DE.Rmd' failed with diagnostics:
the condition has length > 1
--- failed re-building ‘vignette_DE.Rmd’
SUMMARY: processing the following files failed:
‘hyd1d.Rmd’ ‘vignette_DE.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-arm64
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_01_18_19_37_23003\RtmpOS8t4R/df.gauging_data_latest.RDS
was last downloaded 2025-12-02 02:03:45 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