Running ‘testthat.R’ [326s/379s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(testthat)
  +   library(checkmate)
  +   library(mlr3mbo)
  +   test_check("mlr3mbo")
  + }
  Loading required package: mlr3
  Loading required package: mlr3tuning
  Loading required package: paradox
  
  Attaching package: 'mlr3mbo'
  
  The following object is masked from 'package:testthat':
  
      it
  
  Loading required namespace: mlr3learners
  Loading required namespace: DiceKriging
  Loading required namespace: rgenoud
  Saving _problems/test_ResultAssignerArchive-100.R
  Saving _problems/test_ResultAssignerSurrogate-151.R
  WARN  [18:12:18.602] [bbotk] Caught the following error: 
  x Acquisition function optimization failed.
  > Class: Mlr3ErrorMboAcqOptimizer
  Caused by:
    Optimizer Error.
  
  WARN  [18:12:19.135] [bbotk] Caught the following error: 
  x Surrogate update failed.
  > Class: Mlr3ErrorMboSurrogateUpdate
  Caused by:
    x Surrogate Train Error.
    > Class: Mlr3ErrorLearnerTrain
  
  WARN  [18:12:19.554] [bbotk] Caught the following error: 
  x Acquisition function optimization failed.
  > Class: Mlr3ErrorMboAcqOptimizer
  Caused by:
    x Surrogate Predict Error.
    > Class: Mlr3ErrorLearnerPredict
  
  [ FAIL 2 | WARN 2 | SKIP 11 | PASS 1298 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • On CRAN (11): 'test_AcqFunctionEHVIGH.R:87:3',
    'test_AcqFunctionStochasticCB.R:15:1', 'test_AcqFunctionStochasticEI.R:2:1',
    'test_OptimizerADBO.R:2:1', 'test_OptimizerAsyncMbo.R:2:1',
    'test_OptimizerMbo.R:2:3', 'test_ResultAssignerSurrogate.R:18:3',
    'test_TunerADBO.R:2:1', 'test_TunerAsyncMbo.R:2:1', 'test_TunerMbo.R:2:3',
    'test_conditions.R:5:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ResultAssignerArchive.R:93:3'): ResultAssignerArchive passes internal tuned values ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3tuning::ti(...) at test_ResultAssignerArchive.R:93:3
    2. │ └─TuningInstance$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__TuningInstanceBatchSingleCrit__initialize(...)
    5. │       └─mlr3::assert_measures(...)
    6. │         └─base::lapply(...)
    7. │           └─mlr3 (local) FUN(X[[i]], ...)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_ResultAssignerSurrogate.R:144:3'): ResultAssignerSurrogate passes internal tuned values ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3tuning::ti(...) at test_ResultAssignerSurrogate.R:144:3
    2. │ └─TuningInstance$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__TuningInstanceBatchSingleCrit__initialize(...)
    5. │       └─mlr3::assert_measures(...)
    6. │         └─base::lapply(...)
    7. │           └─mlr3 (local) FUN(X[[i]], ...)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  
  [ FAIL 2 | WARN 2 | SKIP 11 | PASS 1298 ]
  Error:
  ! Test failures.
  Execution halted