Running ‘testthat.R’ [100s/158s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("checkmate")
  +   library("mlr3tuning")
  +   test_check("mlr3tuning")
  + }
  Loading required package: mlr3
  Loading required package: paradox
  Saving _problems/test_ArchiveBatchTuning-11.R
  Saving _problems/test_ArchiveBatchTuning-126.R
  Saving _problems/test_ArchiveBatchTuning-277.R
  Saving _problems/test_AutoTuner-10.R
  Saving _problems/test_AutoTuner-42.R
  Saving _problems/test_AutoTuner-77.R
  Saving _problems/test_AutoTuner-93.R
  Saving _problems/test_AutoTuner-118.R
  Saving _problems/test_AutoTuner-155.R
  Saving _problems/test_AutoTuner-184.R
  Saving _problems/test_AutoTuner-246.R
  Saving _problems/test_AutoTuner-282.R
  Saving _problems/test_AutoTuner-308.R
  Saving _problems/test_AutoTuner-373.R
  Saving _problems/test_AutoTuner-389.R
  Saving _problems/test_AutoTuner-420.R
  Saving _problems/test_AutoTuner-434.R
  Saving _problems/test_AutoTuner-480.R
  Saving _problems/test_AutoTuner-606.R
  Saving _problems/test_AutoTuner-625.R
  Saving _problems/test_AutoTuner-676.R
  Saving _problems/test_AutoTuner-699.R
  Saving _problems/test_CallbackBatchTuning-17.R
  Saving _problems/test_CallbackBatchTuning-37.R
  Saving _problems/test_CallbackBatchTuning-59.R
  Saving _problems/test_CallbackBatchTuning-80.R
  Saving _problems/test_CallbackBatchTuning-103.R
  Saving _problems/test_CallbackBatchTuning-127.R
  Saving _problems/test_CallbackBatchTuning-150.R
  Saving _problems/test_CallbackBatchTuning-171.R
  Saving _problems/test_CallbackBatchTuning-191.R
  Saving _problems/test_CallbackBatchTuning-214.R
  Saving _problems/test_CallbackBatchTuning-235.R
  Saving _problems/test_CallbackBatchTuning-255.R
  Saving _problems/test_CallbackBatchTuning-284.R
  Saving _problems/test_CallbackBatchTuning-312.R
  Saving _problems/test_CallbackBatchTuning-339.R
  Saving _problems/test_CallbackBatchTuning-367.R
  Saving _problems/test_ObjectiveTuningAsync-12.R
  Saving _problems/test_ObjectiveTuningAsync-32.R
  Saving _problems/test_ObjectiveTuningAsync-54.R
  Saving _problems/test_ObjectiveTuningAsync-76.R
  Saving _problems/test_ObjectiveTuningBatch-14.R
  Saving _problems/test_ObjectiveTuningBatch-37.R
  Saving _problems/test_ObjectiveTuningBatch-52.R
  Saving _problems/test_ObjectiveTuningBatch-69.R
  Saving _problems/test_ObjectiveTuningBatch-105.R
  Saving _problems/test_ObjectiveTuningBatch-128.R
  Saving _problems/test_ObjectiveTuningBatch-149.R
  Saving _problems/test_Tuner-5.R
  Saving _problems/test_Tuner-46.R
  Saving _problems/test_Tuner-90.R
  Saving _problems/test_Tuner-121.R
  Saving _problems/test_Tuner-188.R
  Saving _problems/test_Tuner-212.R
  Saving _problems/test_Tuner-242.R
  Saving _problems/test_Tuner-294.R
  Saving _problems/test_Tuner-336.R
  Saving _problems/test_Tuner-355.R
  Saving _problems/test_TunerBatchCmaes-19.R
  Saving _problems/test_TunerBatchDesignPoints-3.R
  Saving _problems/test_TunerBatchFromOptimizerBatch-13.R
  Saving _problems/test_TunerBatchGenSA-4.R
  Saving _problems/test_TunerBatchGenSA-23.R
  Saving _problems/test_TunerBatchGenSA-31.R
  Saving _problems/test_TunerBatchGridSearch-2.R
  Saving _problems/test_TunerBatchGridSearch-22.R
  # 2025-12-23 04:37:14 CET: Initialization
  # Elitist race
  # Elitist new instances: 1
  # Elitist limit: 2
  # nbIterations: 2
  # minNbSurvival: 2
  # nbParameters: 1
  # seed: 1507321939
  # confidence level: 0.95
  # budget: 42
  # mu: 5
  # deterministic: FALSE
  
  # 2025-12-23 04:37:14 CET: Iteration 1 of 2
  # experimentsUsed: 0
  # remainingBudget: 42
  # currentBudget: 21
  # nbConfigurations: 3
  # Markers:
       x No test is performed.
       c Configurations are discarded only due to capping.
       - The test is performed and some configurations are discarded.
       = The test is performed but no configuration is discarded.
       ! The test is performed and configurations could be discarded but elite configurations are preserved.
       . All alive configurations are elite and nothing is discarded.
  
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  | |   Instance|      Alive|       Best|       Mean best| Exp so far|  W time|  rho|KenW|  Qvar|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  Saving _problems/test_TunerBatchIrace-4.R
  Saving _problems/test_TunerBatchNLoptr-5.R
  Saving _problems/test_TunerBatchRandomSearch-2.R
  Saving _problems/test_TunerInternal-18.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-19.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-35.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-64.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-114.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-129.R
  Saving _problems/test_TuningInstanceBatchMultiCrit-186.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-9.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-46.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-55.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-76.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-99.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-128.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-136.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-170.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-220.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-237.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-413.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-428.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-459.R
  Saving _problems/test_TuningInstanceBatchSingleCrit-484.R
  Saving _problems/test_error_handling-12.R
  Saving _problems/test_error_handling-36.R
  Saving _problems/test_extract_inner_tuning_archives-11.R
  Saving _problems/test_extract_inner_tuning_archives-131.R
  Saving _problems/test_extract_inner_tuning_results-11.R
  Saving _problems/test_extract_inner_tuning_results-131.R
  Saving _problems/test_mlr_callbacks-14.R
  Saving _problems/test_mlr_callbacks-31.R
  Saving _problems/test_mlr_callbacks-290.R
  Saving _problems/test_mlr_callbacks-307.R
  Saving _problems/test_mlr_callbacks-340.R
  Saving _problems/test_mlr_callbacks-445.R
  Saving _problems/test_trafos-10.R
  Saving _problems/test_trafos-34.R
  Saving _problems/test_tune-4.R
  Saving _problems/test_tune-14.R
  Saving _problems/test_tune-24.R
  Saving _problems/test_tune_nested-6.R
  [ FAIL 113 | WARN 9 | SKIP 68 | PASS 191 ]
  
  ══ Skipped tests (68) ══════════════════════════════════════════════════════════
  • On CRAN (68): 'test_ArchiveAsyncTuning.R:2:3',
    'test_ArchiveAsyncTuning.R:61:3', 'test_ArchiveAsyncTuning.R:119:3',
    'test_ArchiveAsyncTuning.R:146:3', 'test_ArchiveAsyncTuning.R:169:3',
    'test_ArchiveAsyncTuning.R:209:3', 'test_ArchiveAsyncTuning.R:251:3',
    'test_ArchiveAsyncTuning.R:284:3', 'test_ArchiveAsyncTuningFrozen.R:2:3',
    'test_AutoTuner.R:640:3', 'test_CallbackAsyncTuning.R:4:3',
    'test_CallbackAsyncTuning.R:33:3', 'test_CallbackAsyncTuning.R:64:3',
    'test_CallbackAsyncTuning.R:93:3', 'test_CallbackAsyncTuning.R:124:3',
    'test_CallbackAsyncTuning.R:160:3', 'test_CallbackAsyncTuning.R:188:3',
    'test_CallbackAsyncTuning.R:222:3', 'test_CallbackAsyncTuning.R:252:3',
    'test_CallbackAsyncTuning.R:281:3', 'test_CallbackAsyncTuning.R:312:3',
    'test_CallbackAsyncTuning.R:343:3', 'test_CallbackAsyncTuning.R:373:3',
    'test_CallbackAsyncTuning.R:405:3', 'test_CallbackAsyncTuning.R:443:3',
    'test_CallbackAsyncTuning.R:480:3', 'test_CallbackAsyncTuning.R:516:3',
    'test_Tuner.R:53:1', 'test_TunerAsyncDesignPoints.R:2:3',
    'test_TunerAsyncGridSearch.R:2:3', 'test_TunerAsyncRandomSearch.R:2:3',
    'test_TuningInstanceAsyncMultiCrit.R:2:3',
    'test_TuningInstanceAsyncMultiCrit.R:30:3',
    'test_TuningInstanceAsyncMultiCrit.R:57:3',
    'test_TuningInstanceAsyncMultiCrit.R:81:3',
    'test_TuningInstanceAsyncMultiCrit.R:106:3',
    'test_TuningInstanceAsyncMultiCrit.R:134:3',
    'test_TuningInstanceAsyncMultiCrit.R:189:3',
    'test_TuningInstanceAsyncMultiCrit.R:236:3',
    'test_TuningInstanceAsyncMultiCrit.R:261:3',
    'test_TuningInstanceAsyncSingleCrit.R:2:3',
    'test_TuningInstanceAsyncSingleCrit.R:29:3',
    'test_TuningInstanceAsyncSingleCrit.R:54:3',
    'test_TuningInstanceAsyncSingleCrit.R:78:3',
    'test_TuningInstanceAsyncSingleCrit.R:104:3',
    'test_TuningInstanceAsyncSingleCrit.R:131:3',
    'test_TuningInstanceAsyncSingleCrit.R:182:3',
    'test_TuningInstanceAsyncSingleCrit.R:213:3',
    'test_TuningInstanceAsyncSingleCrit.R:226:3',
    'test_TuningInstanceAsyncSingleCrit.R:240:3',
    'test_TuningInstanceAsyncSingleCrit.R:266:3', 'test_auto_tuner.R:25:3',
    'test_auto_tuner.R:48:3', 'test_mlr_callbacks.R:40:3',
    'test_mlr_callbacks.R:93:3', 'test_mlr_callbacks.R:117:3',
    'test_mlr_callbacks.R:141:3', 'test_mlr_callbacks.R:162:3',
    'test_mlr_callbacks.R:192:3', 'test_mlr_callbacks.R:218:3',
    'test_mlr_callbacks.R:251:3', 'test_mlr_callbacks.R:410:3',
    'test_mlr_callbacks.R:452:3', 'test_mlr_callbacks.R:480:3',
    'test_ti_async.R:2:3', 'test_ti_async.R:16:3', 'test_ti_async.R:30:3',
    'test_ti_async.R:42:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ArchiveBatchTuning.R:11:3'): ArchiveTuning access methods work ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_ArchiveBatchTuning.R:11:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_ArchiveBatchTuning.R:126:3'): ArchiveTuning as.data.table function works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_ArchiveBatchTuning.R:126:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_ArchiveBatchTuning.R:277:3'): ArchiveBatchTuning as.data.table function works for internally tuned values ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_ArchiveBatchTuning.R:277:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:10:3'): AutoTuner / train+predict ──────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:10:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   23.                             └─inst$eval_batch(g$data[inds])
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:42:3'): AutoTuner / resample ───────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(tsk("iris"), at, r_outer, store_models = TRUE) at test_AutoTuner.R:42:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_AutoTuner.R:77:3'): nested resamppling results are consistent  ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(tsk("iris"), lrn, cv2, store_models = TRUE) at test_AutoTuner.R:77:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_AutoTuner.R:93:3'): AT training does not change learner in instance args ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:93:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:118:3'): AutoTuner works with graphlearner ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:118:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   23.                             └─inst$eval_batch(g$data[inds])
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:155:3'): Nested resampling works with graphlearner ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(task, at, resampling_outer, store_models = TRUE) at test_AutoTuner.R:155:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_AutoTuner.R:184:3'): store_tuning_instance, store_benchmark_result and store_models flags work ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:184:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   23.                             └─inst$eval_batch(g$data[inds])
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:246:3'): predict_type works ────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:246:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:282:3'): search space from TuneToken works ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(tsk("iris")) at test_AutoTuner.R:282:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:308:3'): AutoTuner get_base_learner method works ───
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(tsk("pima")) at test_AutoTuner.R:308:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:373:3'): AutoTuner hash works #647 in mlr3 ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoTuner.R:373:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_AutoTuner.R:389:3'): AutoTuner works with empty search space ───
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(tsk("pima")) at test_AutoTuner.R:389:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:420:3'): AutoTuner importance method works ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(tsk("penguins")) at test_AutoTuner.R:420:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:434:3'): AutoTuner selected_features method works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(tsk("penguins")) at test_AutoTuner.R:434:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:480:3'): AutoTuner works with instantiated resampling ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:480:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:606:3'): marshalable learner ───────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:606:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:625:3'): marshal ───────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:625:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(list(list()))
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:676:3'): AutoTuner works with internal tuning and validation ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:676:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_AutoTuner.R:699:3'): AutoTuner works when internal_search_space is part of primary search space ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:699:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   14.                   └─private$.optimizer$optimize(inst)
   15.                     └─bbotk:::.__OptimizerBatch__optimize(...)
   16.                       └─bbotk::optimize_batch_default(inst, self)
   17.                         ├─base::tryCatch(...)
   18.                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19.                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20.                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   21.                         └─get_private(optimizer)$.optimize(instance)
   22.                           └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   23.                             └─inst$eval_batch(design$data)
   24.                               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   25.                                 └─self$objective$eval_many(xss_trafoed)
   26.                                   └─bbotk:::.__Objective__eval_many(...)
   27.                                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   28.                                     │ └─base::eval.parent(expr, n = 1L)
   29.                                     │   └─base::eval(expr, p)
   30.                                     │     └─base::eval(expr, p)
   31.                                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   32.                                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   33.                                         └─mlr3::benchmark(...)
   34.                                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   35.                                             └─mlr3 (local) initialize(...)
   36.                                               └─mlr3:::.__ResultData__initialize(...)
   37.                                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   38.                                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:10:3'): on_optimization_begin works ──────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:10:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:30:3'): on_optimization_end works ────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:30:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:52:3'): on_optimizer_after_eval works ────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:52:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:73:3'): on_optimizer_after_eval works ────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:73:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:96:3'): on_eval_after_design works ───────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:96:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:120:3'): on_eval_after_benchmark and on_eval_before_archive works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:120:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:143:3'): on_tuning_result_begin in TuningInstanceSingleCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:143:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:164:3'): on_result_end in TuningInstanceSingleCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:164:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:184:3'): on_result in TuningInstanceSingleCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:184:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:207:3'): on_tuning_result_begin in TuningInstanceBatchMultiCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:207:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:228:3'): on_result_end in TuningInstanceBatchMultiCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:228:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:248:3'): on_result in TuningInstanceBatchMultiCrit works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:248:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:277:3'): on_resample_begin works ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:277:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:305:3'): on_resample_before_train works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:305:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:332:3'): on_resample_before_predict works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:332:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_CallbackBatchTuning.R:360:3'): on_resample_end works ───────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_CallbackBatchTuning.R:360:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningAsync.R:12:3'): objective async works ───────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─objective$eval(xs) at test_ObjectiveTuningAsync.R:12:3
    2.   └─bbotk:::.__Objective__eval(...)
    3.     ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval(xs = xs, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningAsync__.eval(...)
    9.         └─mlr3::resample(...)
   10.           └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningAsync.R:32:3'): store benchmark result works ────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─objective$eval(xs) at test_ObjectiveTuningAsync.R:32:3
    2.   └─bbotk:::.__Objective__eval(...)
    3.     ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval(xs = xs, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningAsync__.eval(...)
    9.         └─mlr3::resample(...)
   10.           └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningAsync.R:54:3'): store models works ──────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─objective$eval(xs) at test_ObjectiveTuningAsync.R:54:3
    2.   └─bbotk:::.__Objective__eval(...)
    3.     ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval(xs = xs, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningAsync__.eval(...)
    9.         └─mlr3::resample(...)
   10.           └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningAsync.R:76:3'): rush objective with multiple measures works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─objective$eval(xs) at test_ObjectiveTuningAsync.R:76:3
    2.   └─bbotk:::.__Objective__eval(...)
    3.     ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval(xs = xs, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningAsync__.eval(...)
    9.         └─mlr3::resample(...)
   10.           └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:14:3'): ObjectiveTuningBatch ────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─obj$eval_many(xss) at test_ObjectiveTuningBatch.R:14:3
    2.   └─bbotk:::.__Objective__eval_many(...)
    3.     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval_many(xss = xss, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
    9.         └─mlr3::benchmark(...)
   10.           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:37:3'): ObjectiveTuningBatch - Multiple measures ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─obj$eval_many(xss) at test_ObjectiveTuningBatch.R:37:3
    2.   └─bbotk:::.__Objective__eval_many(...)
    3.     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval_many(xss = xss, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
    9.         └─mlr3::benchmark(...)
   10.           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:52:3'): ObjectiveTuningBatch - Store models ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─obj$eval_many(xss) at test_ObjectiveTuningBatch.R:52:3
    2.   └─bbotk:::.__Objective__eval_many(...)
    3.     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval_many(xss = xss, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
    9.         └─mlr3::benchmark(...)
   10.           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:69:3'): runtime of learners is added ────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─obj$eval_many(xss) at test_ObjectiveTuningBatch.R:69:3
    2.   └─bbotk:::.__Objective__eval_many(...)
    3.     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval_many(xss = xss, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
    9.         └─mlr3::benchmark(...)
   10.           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:105:3'): tuner can modify resampling ────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─instance$eval_batch(data.table(cp = 0.001)) at test_ObjectiveTuningBatch.R:105:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:128:3'): benchmark clone works ──────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::benchmark(grid, clone = c()) at test_ObjectiveTuningBatch.R:128:3
   2.   └─ResultData$new(grid, data_extra, store_backends = store_backends)
   3.     └─mlr3 (local) initialize(...)
   4.       └─mlr3:::.__ResultData__initialize(...)
   5.         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test_ObjectiveTuningBatch.R:149:3'): objects are cloned ─────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─obj$eval_many(xss) at test_ObjectiveTuningBatch.R:149:3
    2.   └─bbotk:::.__Objective__eval_many(...)
    3.     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    4.     │ └─base::eval.parent(expr, n = 1L)
    5.     │   └─base::eval(expr, p)
    6.     │     └─base::eval(expr, p)
    7.     └─private$.eval_many(xss = xss, resampling = `<list>`)
    8.       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
    9.         └─mlr3::benchmark(...)
   10.           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   11.             └─mlr3 (local) initialize(...)
   12.               └─mlr3:::.__ResultData__initialize(...)
   13.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:5:5'): API ─────────────────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─checkmate::expect_data_table(rs$optimize(inst), nrows = 1) at test_Tuner.R:5:5
    2. │ └─checkmate::checkDataTable(...)
    3. └─rs$optimize(inst)
    4.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    5.     └─private$.optimizer$optimize(inst)
    6.       └─bbotk:::.__OptimizerBatch__optimize(...)
    7.         └─bbotk::optimize_batch_default(inst, self)
    8.           ├─base::tryCatch(...)
    9.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.           └─get_private(optimizer)$.optimize(instance)
   13.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   14.               └─inst$eval_batch(design$data)
   15.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   16.                   └─self$objective$eval_many(xss_trafoed)
   17.                     └─bbotk:::.__Objective__eval_many(...)
   18.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   19.                       │ └─base::eval.parent(expr, n = 1L)
   20.                       │   └─base::eval(expr, p)
   21.                       │     └─base::eval(expr, p)
   22.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   23.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   24.                           └─mlr3::benchmark(...)
   25.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   26.                               └─mlr3 (local) initialize(...)
   27.                                 └─mlr3:::.__ResultData__initialize(...)
   28.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   29.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:46:3'): we get a result when some subordinate params are not fulfilled ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(d) at test_Tuner.R:46:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:90:3'): Tuner works with graphlearner ──────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_Tuner.R:90:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   12.               └─inst$eval_batch(g$data[inds])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:121:3'): Tuner works with instantiated resampling ──────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─rs$optimize(inst) at test_Tuner.R:121:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:182:3'): internal single crit ──────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_Tuner.R:182:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   13.                 └─inst$eval_batch(g$data[inds])
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:205:3'): internal single crit without benchmark_result ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_Tuner.R:205:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   13.                 └─inst$eval_batch(g$data[inds])
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:235:3'): internal multi crit ───────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_Tuner.R:235:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:294:3'): internal tuning: branching ────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_Tuner.R:294:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   12.               └─inst$eval_batch(g$data[inds])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:325:3'): parameter transformations can be used with internal tuning ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_Tuner.R:325:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_Tuner.R:348:3'): tag internal tune token manually in primary search space ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_Tuner.R:348:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchCmaes.R:12:3'): TunerBatchCmaes ──────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_TunerBatchCmaes.R:12:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchCmaes__.optimize(...)
   13.                 ├─mlr3misc::invoke(...)
   14.                 │ └─base::eval.parent(expr, n = 1L)
   15.                 │   └─base::eval(expr, p)
   16.                 │     └─base::eval(expr, p)
   17.                 └─adagio::pureCMAES(...)
   18.                   └─adagio (local) fun(arx[, k])
   19.                     └─bbotk (local) fct(x, ...)
   20.                       └─bbotk:::.__OptimInstanceBatch__objective_function(...)
   21.                         └─private$.objective_function(x, self, self$objective_multiplicator)
   22.                           └─inst$eval_batch(xdt)
   23.                             └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   24.                               └─self$objective$eval_many(xss_trafoed)
   25.                                 └─bbotk:::.__Objective__eval_many(...)
   26.                                   ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   27.                                   │ └─base::eval.parent(expr, n = 1L)
   28.                                   │   └─base::eval(expr, p)
   29.                                   │     └─base::eval(expr, p)
   30.                                   └─private$.eval_many(xss = xss, resampling = `<list>`)
   31.                                     └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   32.                                       └─mlr3::benchmark(...)
   33.                                         └─ResultData$new(grid, data_extra, store_backends = store_backends)
   34.                                           └─mlr3 (local) initialize(...)
   35.                                             └─mlr3:::.__ResultData__initialize(...)
   36.                                               ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   37.                                               └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchDesignPoints.R:3:3'): TunerBatchDesignPoints ─────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─global test_tuner(...) at test_TunerBatchDesignPoints.R:3:3
    2.   └─tuner$optimize(inst)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
   13.                 └─instance$eval_batch(design[inds, ])
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchFromOptimizerBatch.R:13:3'): TunerBatchFromOptimizerBatch parameter set works after cloning ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner_2$optimize(instance) at test_TunerBatchFromOptimizerBatch.R:13:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchGenSA.R:4:3'): TunerBatchGenSA ───────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─global test_tuner("gensa") at test_TunerBatchGenSA.R:4:3
    2. │ └─tuner$optimize(inst)
    3. │   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4. │     └─private$.optimizer$optimize(inst)
    5. │       └─bbotk:::.__OptimizerBatch__optimize(...)
    6. │         └─bbotk::optimize_batch_default(inst, self)
    7. │           ├─base::tryCatch(...)
    8. │           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9. │           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10. │           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11. │           └─get_private(optimizer)$.optimize(instance)
   12. │             └─bbotk:::.__OptimizerBatchGenSA__.optimize(...)
   13. │               └─GenSA::GenSA(...)
   14. └─GenSA (local) `<fn>`(`<dbl>`)
   15.   └─bbotk (local) fn(par, ...)
   16.     └─bbotk:::.__OptimInstanceBatch__objective_function(...)
   17.       └─private$.objective_function(x, self, self$objective_multiplicator)
   18.         └─inst$eval_batch(xdt)
   19.           └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   20.             └─self$objective$eval_many(xss_trafoed)
   21.               └─bbotk:::.__Objective__eval_many(...)
   22.                 ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   23.                 │ └─base::eval.parent(expr, n = 1L)
   24.                 │   └─base::eval(expr, p)
   25.                 │     └─base::eval(expr, p)
   26.                 └─private$.eval_many(xss = xss, resampling = `<list>`)
   27.                   └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   28.                     └─mlr3::benchmark(...)
   29.                       └─ResultData$new(grid, data_extra, store_backends = store_backends)
   30.                         └─mlr3 (local) initialize(...)
   31.                           └─mlr3:::.__ResultData__initialize(...)
   32.                             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   33.                             └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchGenSA.R:23:3'): TunerBatchGenSA with int params and trafo ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─tt$optimize(inst) at test_TunerBatchGenSA.R:23:3
    2. │ └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3. │   └─private$.optimizer$optimize(inst)
    4. │     └─bbotk:::.__OptimizerBatch__optimize(...)
    5. │       └─bbotk::optimize_batch_default(inst, self)
    6. │         ├─base::tryCatch(...)
    7. │         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8. │         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9. │         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10. │         └─get_private(optimizer)$.optimize(instance)
   11. │           └─bbotk:::.__OptimizerBatchGenSA__.optimize(...)
   12. │             └─GenSA::GenSA(...)
   13. └─GenSA (local) `<fn>`(`<dbl>`)
   14.   └─bbotk (local) fn(par, ...)
   15.     └─bbotk:::.__OptimInstanceBatch__objective_function(...)
   16.       └─private$.objective_function(x, self, self$objective_multiplicator)
   17.         └─inst$eval_batch(xdt)
   18.           └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   19.             └─self$objective$eval_many(xss_trafoed)
   20.               └─bbotk:::.__Objective__eval_many(...)
   21.                 ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   22.                 │ └─base::eval.parent(expr, n = 1L)
   23.                 │   └─base::eval(expr, p)
   24.                 │     └─base::eval(expr, p)
   25.                 └─private$.eval_many(xss = xss, resampling = `<list>`)
   26.                   └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   27.                     └─mlr3::benchmark(...)
   28.                       └─ResultData$new(grid, data_extra, store_backends = store_backends)
   29.                         └─mlr3 (local) initialize(...)
   30.                           └─mlr3:::.__ResultData__initialize(...)
   31.                             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   32.                             └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchGenSA.R:31:3'): TunerBatchGenSA - Optimize wrapper with maximize measure ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─tt$optimize(inst) at test_TunerBatchGenSA.R:31:3
    2. │ └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3. │   └─private$.optimizer$optimize(inst)
    4. │     └─bbotk:::.__OptimizerBatch__optimize(...)
    5. │       └─bbotk::optimize_batch_default(inst, self)
    6. │         ├─base::tryCatch(...)
    7. │         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8. │         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9. │         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10. │         └─get_private(optimizer)$.optimize(instance)
   11. │           └─bbotk:::.__OptimizerBatchGenSA__.optimize(...)
   12. │             └─GenSA::GenSA(...)
   13. └─GenSA (local) `<fn>`(`<dbl>`)
   14.   └─bbotk (local) fn(par, ...)
   15.     └─bbotk:::.__OptimInstanceBatch__objective_function(...)
   16.       └─private$.objective_function(x, self, self$objective_multiplicator)
   17.         └─inst$eval_batch(xdt)
   18.           └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   19.             └─self$objective$eval_many(xss_trafoed)
   20.               └─bbotk:::.__Objective__eval_many(...)
   21.                 ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   22.                 │ └─base::eval.parent(expr, n = 1L)
   23.                 │   └─base::eval(expr, p)
   24.                 │     └─base::eval(expr, p)
   25.                 └─private$.eval_many(xss = xss, resampling = `<list>`)
   26.                   └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   27.                     └─mlr3::benchmark(...)
   28.                       └─ResultData$new(grid, data_extra, store_backends = store_backends)
   29.                         └─mlr3 (local) initialize(...)
   30.                           └─mlr3:::.__ResultData__initialize(...)
   31.                             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   32.                             └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchGridSearch.R:2:3'): TunerGridSearch ──────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─global test_tuner(...) at test_TunerBatchGridSearch.R:2:3
    2.   └─tuner$optimize(inst)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   13.                 └─inst$eval_batch(g$data[inds])
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchGridSearch.R:22:3'): TunerGridSearch with TerminatorNone ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_TunerBatchGridSearch.R:22:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   12.               └─inst$eval_batch(g$data[inds])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchIrace.R:4:3'): TunerIrace ────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─global test_tuner("irace", term_evals = 42) at test_TunerBatchIrace.R:4:3
    2.   └─tuner$optimize(inst)
    3.     └─mlr3tuning:::.__TunerBatchIrace__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
   13.                 ├─mlr3misc::invoke(irace::irace, scenario = scenario, .opts = allow_partial_matching)
   14.                 │ └─base::eval.parent(expr, n = 1L)
   15.                 │   └─base::eval(expr, p)
   16.                 │     └─base::eval(expr, p)
   17.                 └─irace::irace(scenario = scenario)
   18.                   └─irace:::irace_common(scenario, simple = TRUE)
   19.                     └─irace:::irace_run(scenario = scenario)
   20.                       └─irace:::elitist_race(...)
   21.                         └─irace:::race_wrapper(...)
   22.                           └─irace:::race_wrapper_helper(...)
   23.                             └─irace:::execute_experiments(...)
   24.                               └─scenario$targetRunnerParallel(...)
   25.                                 └─tuning_instance$eval_batch(xdt)
   26.                                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   27.                                     └─self$objective$eval_many(xss_trafoed)
   28.                                       └─bbotk:::.__Objective__eval_many(...)
   29.                                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   30.                                         │ └─base::eval.parent(expr, n = 1L)
   31.                                         │   └─base::eval(expr, p)
   32.                                         │     └─base::eval(expr, p)
   33.                                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   34.                                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   35.                                             └─mlr3::benchmark(...)
   36.                                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   37.                                                 └─mlr3 (local) initialize(...)
   38.                                                   └─mlr3:::.__ResultData__initialize(...)
   39.                                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   40.                                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchIrace.R:37:36'): TunerIrace works with dependencies ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test_TunerBatchIrace.R:37:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─utils::capture.output(...)
    4. │ └─base::withVisible(...elt(i))
    5. └─tuner$optimize(instance) at test_TunerBatchIrace.R:37:36
    6.   └─mlr3tuning:::.__TunerBatchIrace__optimize(...)
    7.     └─private$.optimizer$optimize(inst)
    8.       └─bbotk:::.__OptimizerBatch__optimize(...)
    9.         └─bbotk::optimize_batch_default(inst, self)
   10.           ├─base::tryCatch(...)
   11.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14.           └─get_private(optimizer)$.optimize(instance)
   15.             └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
   16.               ├─mlr3misc::invoke(irace::irace, scenario = scenario, .opts = allow_partial_matching)
   17.               │ └─base::eval.parent(expr, n = 1L)
   18.               │   └─base::eval(expr, p)
   19.               │     └─base::eval(expr, p)
   20.               └─irace::irace(scenario = scenario)
   21.                 └─irace:::irace_common(scenario, simple = TRUE)
   22.                   └─irace:::irace_run(scenario = scenario)
   23.                     └─irace:::elitist_race(...)
   24.                       └─irace:::race_wrapper(...)
   25.                         └─irace:::race_wrapper_helper(...)
   26.                           └─irace:::execute_experiments(...)
   27.                             └─scenario$targetRunnerParallel(...)
   28.                               └─tuning_instance$eval_batch(xdt)
   29.                                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   30.                                   └─self$objective$eval_many(xss_trafoed)
   31.                                     └─bbotk:::.__Objective__eval_many(...)
   32.                                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   33.                                       │ └─base::eval.parent(expr, n = 1L)
   34.                                       │   └─base::eval(expr, p)
   35.                                       │     └─base::eval(expr, p)
   36.                                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   37.                                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   38.                                           └─mlr3::benchmark(...)
   39.                                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   40.                                               └─mlr3 (local) initialize(...)
   41.                                                 └─mlr3:::.__ResultData__initialize(...)
   42.                                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   43.                                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchIrace.R:56:36'): TunerIrace works with logical parameters ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test_TunerBatchIrace.R:56:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─utils::capture.output(...)
    4. │ └─base::withVisible(...elt(i))
    5. └─tuner$optimize(instance) at test_TunerBatchIrace.R:56:36
    6.   └─mlr3tuning:::.__TunerBatchIrace__optimize(...)
    7.     └─private$.optimizer$optimize(inst)
    8.       └─bbotk:::.__OptimizerBatch__optimize(...)
    9.         └─bbotk::optimize_batch_default(inst, self)
   10.           ├─base::tryCatch(...)
   11.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14.           └─get_private(optimizer)$.optimize(instance)
   15.             └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
   16.               ├─mlr3misc::invoke(irace::irace, scenario = scenario, .opts = allow_partial_matching)
   17.               │ └─base::eval.parent(expr, n = 1L)
   18.               │   └─base::eval(expr, p)
   19.               │     └─base::eval(expr, p)
   20.               └─irace::irace(scenario = scenario)
   21.                 └─irace:::irace_common(scenario, simple = TRUE)
   22.                   └─irace:::irace_run(scenario = scenario)
   23.                     └─irace:::elitist_race(...)
   24.                       └─irace:::race_wrapper(...)
   25.                         └─irace:::race_wrapper_helper(...)
   26.                           └─irace:::execute_experiments(...)
   27.                             └─scenario$targetRunnerParallel(...)
   28.                               └─tuning_instance$eval_batch(xdt)
   29.                                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   30.                                   └─self$objective$eval_many(xss_trafoed)
   31.                                     └─bbotk:::.__Objective__eval_many(...)
   32.                                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   33.                                       │ └─base::eval.parent(expr, n = 1L)
   34.                                       │   └─base::eval(expr, p)
   35.                                       │     └─base::eval(expr, p)
   36.                                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   37.                                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   38.                                           └─mlr3::benchmark(...)
   39.                                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   40.                                               └─mlr3 (local) initialize(...)
   41.                                                 └─mlr3:::.__ResultData__initialize(...)
   42.                                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   43.                                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchIrace.R:70:36'): TunerIrace uses digits ──────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test_TunerBatchIrace.R:70:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─utils::capture.output(...)
    4. │ └─base::withVisible(...elt(i))
    5. ├─checkmate::expect_data_table(tuner$optimize(instance)) at test_TunerBatchIrace.R:70:36
    6. │ └─checkmate::checkDataTable(...)
    7. └─tuner$optimize(instance)
    8.   └─mlr3tuning:::.__TunerBatchIrace__optimize(...)
    9.     └─private$.optimizer$optimize(inst)
   10.       └─bbotk:::.__OptimizerBatch__optimize(...)
   11.         └─bbotk::optimize_batch_default(inst, self)
   12.           ├─base::tryCatch(...)
   13.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   14.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   16.           └─get_private(optimizer)$.optimize(instance)
   17.             └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
   18.               ├─mlr3misc::invoke(irace::irace, scenario = scenario, .opts = allow_partial_matching)
   19.               │ └─base::eval.parent(expr, n = 1L)
   20.               │   └─base::eval(expr, p)
   21.               │     └─base::eval(expr, p)
   22.               └─irace::irace(scenario = scenario)
   23.                 └─irace:::irace_common(scenario, simple = TRUE)
   24.                   └─irace:::irace_run(scenario = scenario)
   25.                     └─irace:::elitist_race(...)
   26.                       └─irace:::race_wrapper(...)
   27.                         └─irace:::race_wrapper_helper(...)
   28.                           └─irace:::execute_experiments(...)
   29.                             └─scenario$targetRunnerParallel(...)
   30.                               └─tuning_instance$eval_batch(xdt)
   31.                                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   32.                                   └─self$objective$eval_many(xss_trafoed)
   33.                                     └─bbotk:::.__Objective__eval_many(...)
   34.                                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   35.                                       │ └─base::eval.parent(expr, n = 1L)
   36.                                       │   └─base::eval(expr, p)
   37.                                       │     └─base::eval(expr, p)
   38.                                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   39.                                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   40.                                           └─mlr3::benchmark(...)
   41.                                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   42.                                               └─mlr3 (local) initialize(...)
   43.                                                 └─mlr3:::.__ResultData__initialize(...)
   44.                                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   45.                                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchIrace.R:84:36'): TunerIrace works with unnamed discrete values ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test_TunerBatchIrace.R:84:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─utils::capture.output(...)
    4. │ └─base::withVisible(...elt(i))
    5. ├─checkmate::expect_data_table(tuner$optimize(instance)) at test_TunerBatchIrace.R:84:36
    6. │ └─checkmate::checkDataTable(...)
    7. └─tuner$optimize(instance)
    8.   └─mlr3tuning:::.__TunerBatchIrace__optimize(...)
    9.     └─private$.optimizer$optimize(inst)
   10.       └─bbotk:::.__OptimizerBatch__optimize(...)
   11.         └─bbotk::optimize_batch_default(inst, self)
   12.           ├─base::tryCatch(...)
   13.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   14.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   16.           └─get_private(optimizer)$.optimize(instance)
   17.             └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
   18.               ├─mlr3misc::invoke(irace::irace, scenario = scenario, .opts = allow_partial_matching)
   19.               │ └─base::eval.parent(expr, n = 1L)
   20.               │   └─base::eval(expr, p)
   21.               │     └─base::eval(expr, p)
   22.               └─irace::irace(scenario = scenario)
   23.                 └─irace:::irace_common(scenario, simple = TRUE)
   24.                   └─irace:::irace_run(scenario = scenario)
   25.                     └─irace:::elitist_race(...)
   26.                       └─irace:::race_wrapper(...)
   27.                         └─irace:::race_wrapper_helper(...)
   28.                           └─irace:::execute_experiments(...)
   29.                             └─scenario$targetRunnerParallel(...)
   30.                               └─tuning_instance$eval_batch(xdt)
   31.                                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   32.                                   └─self$objective$eval_many(xss_trafoed)
   33.                                     └─bbotk:::.__Objective__eval_many(...)
   34.                                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   35.                                       │ └─base::eval.parent(expr, n = 1L)
   36.                                       │   └─base::eval(expr, p)
   37.                                       │     └─base::eval(expr, p)
   38.                                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   39.                                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   40.                                           └─mlr3::benchmark(...)
   41.                                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   42.                                               └─mlr3 (local) initialize(...)
   43.                                                 └─mlr3:::.__ResultData__initialize(...)
   44.                                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   45.                                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchNLoptr.R:5:3'): TunerNLoptr ──────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─global test_tuner("nloptr", algorithm = "NLOPT_LN_BOBYQA", term_evals = 4) at test_TunerBatchNLoptr.R:5:3
    2.   └─tuner$optimize(inst)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchNLoptr__.optimize(...)
   13.                 ├─mlr3misc::invoke(...)
   14.                 │ └─base::eval.parent(expr, n = 1L)
   15.                 │   └─base::eval(expr, p)
   16.                 │     └─base::eval(expr, p)
   17.                 └─nloptr::nloptr(...)
   18.                   └─bbotk (local) eval_f(x0, ...)
   19.                     └─bbotk:::.__OptimInstanceBatch__objective_function(...)
   20.                       └─private$.objective_function(x, self, self$objective_multiplicator)
   21.                         └─inst$eval_batch(xdt)
   22.                           └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   23.                             └─self$objective$eval_many(xss_trafoed)
   24.                               └─bbotk:::.__Objective__eval_many(...)
   25.                                 ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   26.                                 │ └─base::eval.parent(expr, n = 1L)
   27.                                 │   └─base::eval(expr, p)
   28.                                 │     └─base::eval(expr, p)
   29.                                 └─private$.eval_many(xss = xss, resampling = `<list>`)
   30.                                   └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   31.                                     └─mlr3::benchmark(...)
   32.                                       └─ResultData$new(grid, data_extra, store_backends = store_backends)
   33.                                         └─mlr3 (local) initialize(...)
   34.                                           └─mlr3:::.__ResultData__initialize(...)
   35.                                             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   36.                                             └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerBatchRandomSearch.R:2:3'): TunerRandomSearch ──────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─global test_tuner("random_search") at test_TunerBatchRandomSearch.R:2:3
    2.   └─tuner$optimize(inst)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TunerInternal.R:18:3'): tuner internal works ───────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_TunerInternal.R:18:3
    2.   └─mlr3tuning:::.__TunerBatch__optimize(...)
    3.     └─bbotk::optimize_batch_default(inst, self)
    4.       ├─base::tryCatch(...)
    5.       │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    6.       │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    7.       │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
    8.       └─get_private(optimizer)$.optimize(instance)
    9.         └─mlr3tuning:::.__TunerBatchInternal__.optimize(...)
   10.           └─inst$eval_batch(data.table())
   11.             └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   12.               └─self$objective$eval_many(list(list()))
   13.                 └─bbotk:::.__Objective__eval_many(...)
   14.                   ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   15.                   │ └─base::eval.parent(expr, n = 1L)
   16.                   │   └─base::eval(expr, p)
   17.                   │     └─base::eval(expr, p)
   18.                   └─private$.eval_many(xss = xss, resampling = `<list>`)
   19.                     └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   20.                       └─mlr3::benchmark(...)
   21.                         └─ResultData$new(grid, data_extra, store_backends = store_backends)
   22.                           └─mlr3 (local) initialize(...)
   23.                             └─mlr3:::.__ResultData__initialize(...)
   24.                               ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   25.                               └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:19:3'): tuning with multiple objectives ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_TuningInstanceBatchMultiCrit.R:19:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:35:3'): store_benchmark_result and store_models flag works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(...) at test_TuningInstanceBatchMultiCrit.R:35:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:64:3'): check_values flag with parameter set dependencies ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_TuningInstanceBatchMultiCrit.R:64:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:114:3'): TuneToken and result_learner_param_vals works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_TuningInstanceBatchMultiCrit.R:114:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
   12.               └─instance$eval_batch(design[inds, ])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:122:3'): TuningInstanceBatchMultiCrit and empty search space works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_TuningInstanceBatchMultiCrit.R:122:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(list(list()))
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchMultiCrit.R:186:3'): Batch multi-crit internal tuning works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─checkmate::expect_data_table(tuner$optimize(instance), min.rows = 1) at test_TuningInstanceBatchMultiCrit.R:186:3
    2. │ └─checkmate::checkDataTable(...)
    3. └─tuner$optimize(instance)
    4.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    5.     └─private$.optimizer$optimize(inst)
    6.       └─bbotk:::.__OptimizerBatch__optimize(...)
    7.         └─bbotk::optimize_batch_default(inst, self)
    8.           ├─base::tryCatch(...)
    9.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.           └─get_private(optimizer)$.optimize(instance)
   13.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   14.               └─inst$eval_batch(design$data)
   15.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   16.                   └─self$objective$eval_many(xss_trafoed)
   17.                     └─bbotk:::.__Objective__eval_many(...)
   18.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   19.                       │ └─base::eval.parent(expr, n = 1L)
   20.                       │   └─base::eval(expr, p)
   21.                       │     └─base::eval(expr, p)
   22.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   23.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   24.                           └─mlr3::benchmark(...)
   25.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   26.                               └─mlr3 (local) initialize(...)
   27.                                 └─mlr3:::.__ResultData__initialize(...)
   28.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   29.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:9:3'): TuningInstanceBatchSingleCrit ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(...) at test_TuningInstanceBatchSingleCrit.R:9:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:46:3'): archive one row (#40) ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(data.table(cp = 0.1)) at test_TuningInstanceBatchSingleCrit.R:46:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:55:3'): eval_batch and termination ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(design[1:2, ]) at test_TuningInstanceBatchSingleCrit.R:55:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:76:3'): the same experiment can be added twice ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(d) at test_TuningInstanceBatchSingleCrit.R:76:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:99:3'): tuning with custom resampling ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_TuningInstanceBatchSingleCrit.R:99:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:128:3'): non-scalar hyperpars (#201) ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tnr("random_search")$optimize(inst) at test_TuningInstanceBatchSingleCrit.R:128:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:136:3'): store_benchmark_result and store_models flag works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─inst$eval_batch(...) at test_TuningInstanceBatchSingleCrit.R:136:3
    2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3.     └─self$objective$eval_many(xss_trafoed)
    4.       └─bbotk:::.__Objective__eval_many(...)
    5.         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─private$.eval_many(xss = xss, resampling = `<list>`)
   10.           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   11.             └─mlr3::benchmark(...)
   12.               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   13.                 └─mlr3 (local) initialize(...)
   14.                   └─mlr3:::.__ResultData__initialize(...)
   15.                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   16.                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:170:3'): check_values flag with parameter set dependencies ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_TuningInstanceBatchSingleCrit.R:170:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:220:3'): TuneToken and result_learner_param_vals works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_TuningInstanceBatchSingleCrit.R:220:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
   12.               └─instance$eval_batch(design[inds, ])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:230:3'): TuningInstanceBatchSingleCrit and empty search space works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_TuningInstanceBatchSingleCrit.R:230:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(list(list()))
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:413:3'): objective contains no benchmark results ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(instance) at test_TuningInstanceBatchSingleCrit.R:413:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   12.               └─inst$eval_batch(design$data)
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(list(list()))
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:422:3'): dependencies in defaults work ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─checkmate::expect_class(...) at test_TuningInstanceBatchSingleCrit.R:422:3
    2. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
    3. └─mlr3tuning::tune(...)
    4.   └─tuner$optimize(instance)
    5.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    6.       └─private$.optimizer$optimize(inst)
    7.         └─bbotk:::.__OptimizerBatch__optimize(...)
    8.           └─bbotk::optimize_batch_default(inst, self)
    9.             ├─base::tryCatch(...)
   10.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   11.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   13.             └─get_private(optimizer)$.optimize(instance)
   14.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   15.                 └─inst$eval_batch(design$data)
   16.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   17.                     └─self$objective$eval_many(xss_trafoed)
   18.                       └─bbotk:::.__Objective__eval_many(...)
   19.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   20.                         │ └─base::eval.parent(expr, n = 1L)
   21.                         │   └─base::eval(expr, p)
   22.                         │     └─base::eval(expr, p)
   23.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   24.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   25.                             └─mlr3::benchmark(...)
   26.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   27.                                 └─mlr3 (local) initialize(...)
   28.                                   └─mlr3:::.__ResultData__initialize(...)
   29.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   30.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_TuningInstanceBatchSingleCrit.R:459:3'): Batch single-crit internal tuning works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─checkmate::expect_data_table(tuner$optimize(instance), nrows = 1) at test_TuningInstanceBatchSingleCrit.R:459:3
    2. │ └─checkmate::checkDataTable(...)
    3. └─tuner$optimize(instance)
    4.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    5.     └─private$.optimizer$optimize(inst)
    6.       └─bbotk:::.__OptimizerBatch__optimize(...)
    7.         └─bbotk::optimize_batch_default(inst, self)
    8.           ├─base::tryCatch(...)
    9.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.           └─get_private(optimizer)$.optimize(instance)
   13.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   14.               └─inst$eval_batch(design$data)
   15.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   16.                   └─self$objective$eval_many(xss_trafoed)
   17.                     └─bbotk:::.__Objective__eval_many(...)
   18.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   19.                       │ └─base::eval.parent(expr, n = 1L)
   20.                       │   └─base::eval(expr, p)
   21.                       │     └─base::eval(expr, p)
   22.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   23.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   24.                           └─mlr3::benchmark(...)
   25.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   26.                               └─mlr3 (local) initialize(...)
   27.                                 └─mlr3:::.__ResultData__initialize(...)
   28.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   29.                                   └─data.table:::`[.data.table`(...)
  ── Failure ('test_TuningInstanceBatchSingleCrit.R:478:3'): required parameter can be tuned internally without having a value set ──
  Expected `tune(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TuningInstanceBatchSingleCrit.R:478:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─mlr3tuning::tune(...)
    8.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerBatch__optimize(...)
   10.       └─bbotk::optimize_batch_default(inst, self)
   11.         ├─base::tryCatch(...)
   12.         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   13.         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   14.         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   15.         └─get_private(optimizer)$.optimize(instance)
   16.           └─mlr3tuning:::.__TunerBatchInternal__.optimize(...)
   17.             └─inst$eval_batch(data.table())
   18.               └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   19.                 └─self$objective$eval_many(list(list()))
   20.                   └─bbotk:::.__Objective__eval_many(...)
   21.                     ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   22.                     │ └─base::eval.parent(expr, n = 1L)
   23.                     │   └─base::eval(expr, p)
   24.                     │     └─base::eval(expr, p)
   25.                     └─private$.eval_many(xss = xss, resampling = `<list>`)
   26.                       └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   27.                         └─mlr3::benchmark(...)
   28.                           └─ResultData$new(grid, data_extra, store_backends = store_backends)
   29.                             └─mlr3 (local) initialize(...)
   30.                               └─mlr3:::.__ResultData__initialize(...)
   31.                                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   32.                                 └─data.table:::`[.data.table`(...)
  ── Error ('test_error_handling.R:12:3'): failing learner ───────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─mlr3tuning:::expect_resample_error(tt$optimize(instance), "classif.debug->train") at test_error_handling.R:12:3
    2. │ ├─base::withCallingHandlers(...) at ./helper.R:26:3
    3. │ └─testthat::expect_error(...)
    4. │   └─testthat:::expect_condition_matching_(...)
    5. │     └─testthat:::quasi_capture(...)
    6. │       ├─testthat (local) .capture(...)
    7. │       │ └─base::withCallingHandlers(...)
    8. │       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─tt$optimize(instance)
   10.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   11.     └─private$.optimizer$optimize(inst)
   12.       └─bbotk:::.__OptimizerBatch__optimize(...)
   13.         └─bbotk::optimize_batch_default(inst, self)
   14.           ├─base::tryCatch(...)
   15.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   16.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   18.           └─get_private(optimizer)$.optimize(instance)
   19.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   20.               └─inst$eval_batch(design$data)
   21.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   22.                   └─self$objective$eval_many(xss_trafoed)
   23.                     └─bbotk:::.__Objective__eval_many(...)
   24.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   25.                       │ └─base::eval.parent(expr, n = 1L)
   26.                       │   └─base::eval(expr, p)
   27.                       │     └─base::eval(expr, p)
   28.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   29.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   30.                           └─mlr3::benchmark(...)
   31.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   32.                               └─mlr3 (local) initialize(...)
   33.                                 └─mlr3:::.__ResultData__initialize(...)
   34.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   35.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_error_handling.R:36:3'): predictions missing ───────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─mlr3tuning:::expect_resample_error(tt$optimize(instance), "missing") at test_error_handling.R:36:3
    2. │ ├─base::withCallingHandlers(...) at ./helper.R:26:3
    3. │ └─testthat::expect_error(...)
    4. │   └─testthat:::expect_condition_matching_(...)
    5. │     └─testthat:::quasi_capture(...)
    6. │       ├─testthat (local) .capture(...)
    7. │       │ └─base::withCallingHandlers(...)
    8. │       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─tt$optimize(instance)
   10.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
   11.     └─private$.optimizer$optimize(inst)
   12.       └─bbotk:::.__OptimizerBatch__optimize(...)
   13.         └─bbotk::optimize_batch_default(inst, self)
   14.           ├─base::tryCatch(...)
   15.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   16.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   18.           └─get_private(optimizer)$.optimize(instance)
   19.             └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   20.               └─inst$eval_batch(design$data)
   21.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   22.                   └─self$objective$eval_many(xss_trafoed)
   23.                     └─bbotk:::.__Objective__eval_many(...)
   24.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   25.                       │ └─base::eval.parent(expr, n = 1L)
   26.                       │   └─base::eval(expr, p)
   27.                       │     └─base::eval(expr, p)
   28.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   29.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   30.                           └─mlr3::benchmark(...)
   31.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   32.                               └─mlr3 (local) initialize(...)
   33.                                 └─mlr3:::.__ResultData__initialize(...)
   34.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   35.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_extract_inner_tuning_archives.R:11:3'): extract_inner_tuning_archives function works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(task, at, resampling_outer, store_models = TRUE) at test_extract_inner_tuning_archives.R:11:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_extract_inner_tuning_archives.R:131:3'): works with internal tuning ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::benchmark(...) at test_extract_inner_tuning_archives.R:131:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_extract_inner_tuning_results.R:11:3'): extract_inner_tuning_results function works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(task, at, resampling_outer, store_models = TRUE) at test_extract_inner_tuning_results.R:11:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_extract_inner_tuning_results.R:131:3'): extract_inner_tuning_results returns tuning_instance ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(tsk("penguins"), at, resampling_outer, store_models = TRUE) at test_extract_inner_tuning_results.R:131:3
   2.   └─mlr3:::future_map(...)
   3.     └─future.apply::future_mapply(...)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  ── Error ('test_mlr_callbacks.R:6:3'): backup callback works ───────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:6:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_mlr_callbacks.R:23:3'): backup callback works with standalone tuner ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:23:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   13.                 └─inst$eval_batch(g$data[inds])
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_mlr_callbacks.R:282:3'): batch default configuration callback  works ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:282:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             └─mlr3misc::call_back(...)
    8.               └─mlr3misc::walk(...)
    9.                 └─mlr3misc (local) .f(.xi, ...)
   10.                   └─callback$call(stage, context)
   11.                     └─self[[stage]](self, context)
   12.                       └─context$instance$eval_batch(xdt)
   13.                         └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                           └─self$objective$eval_many(xss_trafoed)
   15.                             └─bbotk:::.__Objective__eval_many(...)
   16.                               ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                               │ └─base::eval.parent(expr, n = 1L)
   18.                               │   └─base::eval(expr, p)
   19.                               │     └─base::eval(expr, p)
   20.                               └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                                 └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                                   └─mlr3::benchmark(...)
   23.                                     └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                                       └─mlr3 (local) initialize(...)
   25.                                         └─mlr3:::.__ResultData__initialize(...)
   26.                                           ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                           └─data.table:::`[.data.table`(...)
  ── Error ('test_mlr_callbacks.R:299:3'): batch default configuration callback  works with logscale ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:299:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             └─mlr3misc::call_back(...)
    8.               └─mlr3misc::walk(...)
    9.                 └─mlr3misc (local) .f(.xi, ...)
   10.                   └─callback$call(stage, context)
   11.                     └─self[[stage]](self, context)
   12.                       └─context$instance$eval_batch(xdt)
   13.                         └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                           └─self$objective$eval_many(xss_trafoed)
   15.                             └─bbotk:::.__Objective__eval_many(...)
   16.                               ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                               │ └─base::eval.parent(expr, n = 1L)
   18.                               │   └─base::eval(expr, p)
   19.                               │     └─base::eval(expr, p)
   20.                               └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                                 └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                                   └─mlr3::benchmark(...)
   23.                                     └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                                       └─mlr3 (local) initialize(...)
   25.                                         └─mlr3:::.__ResultData__initialize(...)
   26.                                           ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                           └─data.table:::`[.data.table`(...)
  ── Error ('test_mlr_callbacks.R:332:3'): batch default configuration callback  works without transformation and with logscale ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:332:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             └─mlr3misc::call_back(...)
    8.               └─mlr3misc::walk(...)
    9.                 └─mlr3misc (local) .f(.xi, ...)
   10.                   └─callback$call(stage, context)
   11.                     └─self[[stage]](self, context)
   12.                       └─context$instance$eval_batch(xdt)
   13.                         └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                           └─self$objective$eval_many(xss_trafoed)
   15.                             └─bbotk:::.__Objective__eval_many(...)
   16.                               ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                               │ └─base::eval.parent(expr, n = 1L)
   18.                               │   └─base::eval(expr, p)
   19.                               │     └─base::eval(expr, p)
   20.                               └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                                 └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                                   └─mlr3::benchmark(...)
   23.                                     └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                                       └─mlr3 (local) initialize(...)
   25.                                         └─mlr3:::.__ResultData__initialize(...)
   26.                                           ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                           └─data.table:::`[.data.table`(...)
  ── Error ('test_mlr_callbacks.R:437:3'): one se rule callback works ────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_mlr_callbacks.R:437:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_trafos.R:10:3'): simple exp trafo works ────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_trafos.R:10:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
   12.               └─instance$eval_batch(design[inds, ])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_trafos.R:34:3'): trafo where param names change ────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─tuner$optimize(inst) at test_trafos.R:34:3
    2.   └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    3.     └─private$.optimizer$optimize(inst)
    4.       └─bbotk:::.__OptimizerBatch__optimize(...)
    5.         └─bbotk::optimize_batch_default(inst, self)
    6.           ├─base::tryCatch(...)
    7.           │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.           │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.           │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   10.           └─get_private(optimizer)$.optimize(instance)
   11.             └─bbotk:::.__OptimizerBatchGridSearch__.optimize(...)
   12.               └─inst$eval_batch(g$data[inds])
   13.                 └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   14.                   └─self$objective$eval_many(xss_trafoed)
   15.                     └─bbotk:::.__Objective__eval_many(...)
   16.                       ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   17.                       │ └─base::eval.parent(expr, n = 1L)
   18.                       │   └─base::eval(expr, p)
   19.                       │     └─base::eval(expr, p)
   20.                       └─private$.eval_many(xss = xss, resampling = `<list>`)
   21.                         └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   22.                           └─mlr3::benchmark(...)
   23.                             └─ResultData$new(grid, data_extra, store_backends = store_backends)
   24.                               └─mlr3 (local) initialize(...)
   25.                                 └─mlr3:::.__ResultData__initialize(...)
   26.                                   ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   27.                                   └─data.table:::`[.data.table`(...)
  ── Error ('test_tune.R:3:3'): tune function works with one measure ─────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_tune.R:3:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_tune.R:13:3'): tune function works with multiple measures ──────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_tune.R:13:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_tune.R:23:3'): tune function works without measure ─────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune(...) at test_tune.R:23:3
    2.   └─tuner$optimize(instance)
    3.     └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__OptimizerBatch__optimize(...)
    6.           └─bbotk::optimize_batch_default(inst, self)
    7.             ├─base::tryCatch(...)
    8.             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.             └─get_private(optimizer)$.optimize(instance)
   12.               └─bbotk:::.__OptimizerBatchRandomSearch__.optimize(...)
   13.                 └─inst$eval_batch(design$data)
   14.                   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   15.                     └─self$objective$eval_many(xss_trafoed)
   16.                       └─bbotk:::.__Objective__eval_many(...)
   17.                         ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
   18.                         │ └─base::eval.parent(expr, n = 1L)
   19.                         │   └─base::eval(expr, p)
   20.                         │     └─base::eval(expr, p)
   21.                         └─private$.eval_many(xss = xss, resampling = `<list>`)
   22.                           └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
   23.                             └─mlr3::benchmark(...)
   24.                               └─ResultData$new(grid, data_extra, store_backends = store_backends)
   25.                                 └─mlr3 (local) initialize(...)
   26.                                   └─mlr3:::.__ResultData__initialize(...)
   27.                                     ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   28.                                     └─data.table:::`[.data.table`(...)
  ── Error ('test_tune_nested.R:5:3'): tune_nested function works ────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─mlr3tuning::tune_nested(...) at test_tune_nested.R:5:3
    2.   └─mlr3::resample(task, at, outer_resampling, store_models = TRUE)
    3.     └─mlr3:::future_map(...)
    4.       └─future.apply::future_mapply(...)
    5.         └─future.apply:::future_xapply(...)
    6.           └─base::tryCatch(...)
    7.             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.               └─base (local) tryCatchOne(...)
    9.                 └─value[[3L]](cond)
   10.                   └─future.apply:::onError(e, futures = fs, debug = debug)
  
  [ FAIL 113 | WARN 9 | SKIP 68 | PASS 191 ]
  Error:
  ! Test failures.
  Execution halted