- using R Under development (unstable) (2025-12-23 r89222)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mlr3batchmark/DESCRIPTION’ ... OK
- this is package ‘mlr3batchmark’ version ‘0.2.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘mlr3batchmark’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/7s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [1s/2s] ERROR
Running examples in ‘mlr3batchmark-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: batchmark
> ### Title: Benchmark Experiments on Batch Systems
> ### Aliases: batchmark
>
> ### ** Examples
>
> tasks = list(mlr3::tsk("iris"), mlr3::tsk("sonar"))
> learners = list(mlr3::lrn("classif.featureless"), mlr3::lrn("classif.rpart"))
> resamplings = list(mlr3::rsmp("cv", folds = 3), mlr3::rsmp("holdout"))
>
> design = mlr3::benchmark_grid(
+ tasks = tasks,
+ learners = learners,
+ resamplings = resamplings
+ )
>
> reg = batchtools::makeExperimentRegistry(NA)
No readable configuration file found
Created registry in '/tmp/Rtmpiz4ZL2/registry204c682fbf15fd' using cluster functions 'Interactive'
> batchmark(design, reg = reg)
Adding algorithm 'run_learner'
Error in `[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", :
attempt access index 8/8 in VECTOR_ELT
Calls: batchmark -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/5s] ERROR
Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("mlr3batchmark")
+ test_check("mlr3batchmark")
+ }
Loading required package: batchtools
Saving _problems/test_batchmark-13.R
Saving _problems/test_batchmark-42.R
Saving _problems/test_batchmark-67.R
Saving _problems/test_batchmark-92.R
Saving _problems/test_batchmark-114.R
Saving _problems/test_reduceResultsBatchmark-13.R
Saving _problems/test_reduceResultsBatchmark-50.R
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_batchmark.R:13:3'): basic workflow ─────────────────────────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:13:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_batchmark.R:42:3'): parallel multicore ─────────────────────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:42:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_batchmark.R:67:3'): failing jobs ───────────────────────────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:67:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_batchmark.R:92:3'): marshaling ─────────────────────────────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(...) at test_batchmark.R:92:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_batchmark.R:114:3'): adding parameter values works ─────────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:114:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_reduceResultsBatchmark.R:13:3'): reduceResultsBatchmark ────────
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(design, reg = reg, store_models = TRUE) at test_reduceResultsBatchmark.R:13:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
── Error ('test_reduceResultsBatchmark.R:50:3'): warning is given when mlr3 versions mismatch ──
Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3batchmark::batchmark(...) at test_reduceResultsBatchmark.R:50:3
2. ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
3. └─data.table:::`[.data.table`(...)
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs