hyd1d
1d Water Level Interpolation along the Rivers Elbe and Rhine
Description
An S4 class and several functions which utilize internally stored datasets and gauging data enable 1d water level interpolation. The S4 class (WaterLevelDataFrame) structures the computation and visualisation of 1d water level information along the German federal waterways Elbe and Rhine. 'hyd1d' delivers 1d water level data - extracted from the 'FLYS' database - and validated gauging data - extracted from the hydrological database 'WISKI7' - package-internally. For computations near real time gauging data are queried externally from the 'PEGELONLINE REST API' <https://pegelonline.wsv.de/webservice/dokuRestapi>.
Downloads
764
Last 30 days
4709th
2.3K
Last 90 days
8.3K
Last year
Trend: -7.4% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
examples
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()) withAutoprint({ # 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: withAutoprint ... getPegelonlineW -> <Anonymous> -> regularize.values -> xy.coords
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘hyd1d.Rmd’ using rmarkdown
Quitting from hyd1d.Rmd:359-390 [figure2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `plot.window()`:
! need finite 'ylim' values
---
Backtrace:
▆
1. └─hyd1d::plotShiny(...)
2. ├─base::do.call(.plotShiny, dots)
3. └─hyd1d (local) `<fn>`(...)
4. ├─base::do.call(.plot, dots)
5. └─hyd1d (local) `<fn>`(...)
6. ├─graphics::plot(...)
7. └─graphics::plot.default(...)
8. └─graphics (local) localWindow(xlim, ylim, log, asp, ...)
9. └─graphics::plot.window(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'hyd1d.Rmd' failed with diagnostics:
need finite 'ylim' values
--- 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 `plot.window()`:
! need finite 'ylim' values
---
Backtrace:
▆
1. └─hyd1d::plotShiny(wldf, TRUE, TRUE, TRUE, xlim = c(xlim_min, xlim_max))
2. ├─base::do.call(.plotShiny, dots)
3. └─hyd1d (local) `<fn>`(...)
4. ├─base::do.call(.plot, dots)
5. └─hyd1d (local) `<fn>`(...)
6. ├─graphics::plot(...)
7. └─graphics::plot.default(...)
8. └─graphics (local) localWindow(xlim, ylim, log, asp, ...)
9. └─graphics::plot.window(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vignette_DE.Rmd' failed with diagnostics:
need finite 'ylim' values
--- failed re-building ‘vignette_DE.Rmd’
SUMMARY: processing the following files failed:
‘hyd1d.Rmd’ ‘vignette_DE.Rmd’
Error: Vignette re-building failed.
Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
examples
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 ...[truncated]... ion = "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: withAutoprint ... getPegelonlineW -> <Anonymous> -> regularize.values -> xy.coords Execution halted