- using R Under development (unstable) (2025-12-23 r89222 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'mlr3batchmark/DESCRIPTION' ... OK
- this is package 'mlr3batchmark' version '0.2.2'
- package encoding: UTF-8
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'mlr3batchmark' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [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 ... [4s] OK
- checking Rd files ... [0s] OK
- checking Rd metadata ... 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 ... [2s] ERROR
Running examples in 'mlr3batchmark-Ex.R' failed
The error most likely occurred in:
> ### 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 'D:/temp/2025_12_24_01_50_00_27005/RtmpiEvOIn/registry14da063fb712e' 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 ... [4s] ERROR
Running 'testthat.R' [3s]
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-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 6 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On Windows (1): 'test_batchmark.R:28:3'
══ 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: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 6 | WARN 0 | SKIP 1 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 2 ERRORs