CRAN Package Check Results for Package ldmppr

Last updated on 2025-12-05 09:49:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 28.99 332.37 361.36 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 19.78 184.82 204.60 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 215.00 229.37 444.37 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.4 234.00 193.34 427.34 ERROR
r-devel-windows-x86_64 1.0.4 34.00 282.00 316.00 OK
r-patched-linux-x86_64 1.0.4 29.53 250.84 280.37 OK
r-release-linux-x86_64 1.0.4 27.41 250.31 277.72 OK
r-release-macos-arm64 1.0.4 OK
r-release-macos-x86_64 1.0.4 18.00 181.00 199.00 OK
r-release-windows-x86_64 1.0.4 34.00 274.00 308.00 OK
r-oldrel-macos-arm64 1.0.4 OK
r-oldrel-macos-x86_64 1.0.4 19.00 206.00 225.00 OK
r-oldrel-windows-x86_64 1.0.4 41.00 377.00 418.00 OK

Check Details

Version: 1.0.4
Check: examples
Result: ERROR Running examples in ‘ldmppr-Ex.R’ failed The error most likely occurred in: > ### Name: predict_marks > ### Title: Predict values from the mark distribution > ### Aliases: predict_marks > > ### ** Examples > > # Simulate a realization > generating_parameters <- c(2, 8, .02, 2.5, 3, 1, 2.5, .2) > M_n <- matrix(c(10, 14), ncol = 1) > generated_locs <- simulate_sc( + t_min = 0, + t_max = 1, + sc_params = generating_parameters, + anchor_point = M_n, + xy_bounds = c(0, 25, 0, 25) + ) > > # Load the raster files > raster_paths <- list.files(system.file("extdata", package = "ldmppr"), + pattern = "\\.tif$", full.names = TRUE + ) > rasters <- lapply(raster_paths, terra::rast) > > # Scale the rasters > scaled_raster_list <- scale_rasters(rasters) > > # Load the example mark model > file_path <- system.file("extdata", "example_mark_model.rds", package = "ldmppr") > example_mark_model <- readRDS(file_path) > > # Unbundle the model > mark_model <- bundle::unbundle(example_mark_model) Error in xgboost::xgb.load.raw(object, as_booster = TRUE) : unused argument (as_booster = TRUE) Calls: <Anonymous> ... <Anonymous> -> unbundle -> unbundle.bundle -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘ldmppr_howto.Rmd’ using rmarkdown Quitting from ldmppr_howto.Rmd:100-130 [train_mark_model] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `xgboost::xgb.load.raw()`: ! unused argument (as_booster = TRUE) --- Backtrace: ▆ 1. ├─bundle::unbundle(example_mark_model$bundled_model) 2. └─bundle:::unbundle.bundle(example_mark_model$bundled_model) 3. └─x$situate(get_object(x)) 4. └─bundle::swap_element(object, "fit") 5. ├─bundle::unbundle(component) 6. └─bundle:::unbundle.bundle(component) 7. └─x$situate(get_object(x)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'ldmppr_howto.Rmd' failed with diagnostics: unused argument (as_booster = TRUE) --- failed re-building ‘ldmppr_howto.Rmd’ SUMMARY: processing the following file failed: ‘ldmppr_howto.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc