Last updated on 2024-07-27 11:48:59 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.4.5 | 67.94 | 519.08 | 587.02 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.4.5 | OK | ||||
r-devel-linux-x86_64-fedora-clang | 2.4.5 | 741.39 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 2.4.5 | 711.92 | NOTE | |||
r-devel-windows-x86_64 | 2.4.5 | 43.00 | 337.00 | 380.00 | OK | |
r-patched-linux-x86_64 | 2.4.3 | ERROR | ||||
r-release-linux-x86_64 | 2.4.3 | 42.34 | 490.80 | 533.14 | OK | |
r-release-macos-arm64 | 2.4.5 | 126.00 | OK | |||
r-release-macos-x86_64 | 2.4.5 | 254.00 | OK | |||
r-release-windows-x86_64 | 2.4.5 | 45.00 | 344.00 | 389.00 | OK | |
r-oldrel-macos-arm64 | 2.4.5 | 235.00 | OK | |||
r-oldrel-macos-x86_64 | 2.4.5 | 453.00 | OK | |||
r-oldrel-windows-x86_64 | 2.4.5 | 50.00 | 340.00 | 390.00 | OK |
Version: 2.4.5
Check: data for non-ASCII characters
Result: NOTE
Note: found 2 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 2.4.3
Check: examples
Result: ERROR
Running examples in ‘medfateland-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: spwb_land_day
> ### Title: One-day watershed simulations
> ### Aliases: spwb_land_day growth_land_day
>
> ### ** Examples
>
> # Load example watershed data after burnin period
> data("example_watershed_burnin")
>
> # Set request for daily model results in cells number 3, 6 (outlet) and 9
> example_watershed_burnin$result_cell <- FALSE
> example_watershed_burnin$result_cell[c(3,6,9)] <- TRUE
>
> # Get bounding box to determine limits
> b <- sf::st_bbox(example_watershed_burnin)
> b
xmin ymin xmax ymax
401430 4671870 402830 4672570
>
> # Define a raster topology, using terra package,
> # with the same CRS as the watershed. In this example cells have 100 m side.
> # Coordinates in the 'sf' object are assumed to be cell centers
> r <-terra::rast(xmin = 401380, ymin = 4671820, xmax = 402880, ymax = 4672620,
+ nrow = 8, ncol = 15, crs = "epsg:32631")
>
> # Load example meteo data frame from package meteoland
> data("examplemeteo")
>
> # Load default medfate parameters
> data("SpParamsMED")
>
> # Watershed control parameters (TETIS model; Frances et al. 2007)
> ws_control <- default_watershed_control("tetis")
>
> # Launch simulation
> date <- "2001-03-01"
> sf_out <- spwb_land_day(r, example_watershed_burnin, SpParamsMED, examplemeteo,
+ date = date,
+ watershed_control = ws_control)
── Simulation of model 'spwb' over a watershed for day '2001-03-01' ────────────
ℹ Checking topology
✔ Checking topology [81ms]
ℹ Checking 'sf' data
✔ Checking 'sf' data [141ms]
ℹ Determining neighbors and discharge for TETIS
✔ Determining neighbors and discharge for TETIS [81ms]
• Hydrological model: TETIS
• Number of grid cells: 120 Number of target cells: 66
• Average cell area: 10006 m2, Total area: 120 ha, Target area: 66 ha
• Cell land use wildland: 48 agriculture: 17 artificial: 0 rock: 1 water: 0
• Cells with soil: 65
• Number of cells with daily model results requested: 3
• Number of outlet cells: 1
ℹ Building spwb input
✔ Building spwb input [30ms]
ℹ 0 cells needed initialization
Package 'meteoland' [ver. 2.2.1]
Error in medfate::spwb_day(xi$x, date, xi$meteovec, latitude = xi$latitude, :
Index out of bounds: [index='lfmcComponent'].
Calls: spwb_land_day ... .watershedDayTetis -> .f_landunit_day -> <Anonymous>
✖ 0 cells needed initialization [170ms]
Execution halted
Flavor: r-patched-linux-x86_64