Last updated on 2025-12-21 17:51:13 CET.
| Package | ERROR | OK |
|---|---|---|
| ldmppr | 8 | 5 |
Current CRAN status: ERROR: 8, OK: 5
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘ldmppr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
extract_covars 7.309 0.148 8.699
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘ldmppr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
extract_covars 4.165 0.192 5.055
Flavor: r-devel-linux-x86_64-debian-gcc
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, r-devel-windows-x86_64, r-oldrel-windows-x86_64
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘ldmppr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
extract_covars 6.907 0.114 9.152
Flavor: r-patched-linux-x86_64
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘ldmppr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
extract_covars 6.662 0.205 8.38
Flavor: r-release-linux-x86_64