CRAN Package Check Results for Package mlr3batchmark

Last updated on 2025-12-19 14:50:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 4.18 61.80 65.98 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 2.98 47.55 50.53 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 7.00 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 6.00 61.24 67.24 ERROR
r-devel-windows-x86_64 0.2.2 6.00 75.00 81.00 OK
r-patched-linux-x86_64 0.2.2 3.86 57.60 61.46 OK
r-release-linux-x86_64 0.2.2 3.62 58.34 61.96 OK
r-release-macos-arm64 0.2.2 OK
r-release-macos-x86_64 0.2.2 3.00 83.00 86.00 OK
r-release-windows-x86_64 0.2.2 6.00 74.00 80.00 OK
r-oldrel-macos-arm64 0.2.2 OK
r-oldrel-macos-x86_64 0.2.2 3.00 103.00 106.00 OK
r-oldrel-windows-x86_64 0.2.2 8.00 92.00 100.00 OK

Check Details

Version: 0.2.2
Check: examples
Result: 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 '/tmp/RtmphNKjBj/working_dir/RtmpOePGkF/registry1c7e028a68fc3' 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ 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 Flavor: r-devel-linux-x86_64-fedora-gcc