CRAN Package Check Results for Package medfateland

Last updated on 2025-10-22 05:51:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.7.0 74.14 387.15 461.29 OK
r-devel-linux-x86_64-debian-gcc 2.7.0 49.43 239.43 288.86 OK
r-devel-linux-x86_64-fedora-clang 2.7.0 178.00 594.20 772.20 OK
r-devel-linux-x86_64-fedora-gcc 2.7.0 203.00 559.42 762.42 ERROR
r-devel-windows-x86_64 2.7.0 74.00 324.00 398.00 OK
r-patched-linux-x86_64 2.7.0 76.90 366.15 443.05 OK
r-release-linux-x86_64 2.7.0 67.12 365.21 432.33 OK
r-release-macos-arm64 2.7.0 22.00 106.00 128.00 OK
r-release-macos-x86_64 2.7.0 45.00 201.00 246.00 OK
r-release-windows-x86_64 2.7.0 74.00 322.00 396.00 OK
r-oldrel-macos-arm64 2.7.0 23.00 100.00 123.00 OK
r-oldrel-macos-x86_64 2.7.0 46.00 243.00 289.00 OK
r-oldrel-windows-x86_64 2.7.0 95.00 446.00 541.00 OK

Check Details

Version: 2.7.0
Check: examples
Result: ERROR Running examples in ‘medfateland-Ex.R’ failed The error most likely occurred in: > ### 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 [48ms] ℹ Checking 'sf' data ✔ Checking 'sf' data [144ms] ℹ Determining neighbors and discharge for TETIS ✔ Determining neighbors and discharge for TETIS [141ms] • 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 channel cells: 0 • Number of outlet cells: 1 ℹ Building spwb input ✔ Building spwb input [24ms] ℹ 0 cells needed initialization Package 'meteoland' [ver. 2.2.3] Error: Index out of bounds: [index='maxMCstem']. ✖ 0 cells needed initialization [224ms] Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc