Running ‘testthat.R’ [247s/467s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(testthat)
  +   library(mlr3mbo)
  +   test_check("mlr3mbo")
  + }
  Loading required namespace: mlr3learners
  Loading required namespace: DiceKriging
  Loading required namespace: rgenoud
  Loading required package: mlr3
  WARN  [00:41:14.911] [bbotk] Optimizer Error.
  WARN  [00:41:54.938] [bbotk] Less then `n_select` (1) candidate points found during acquisition function optimization were not already evaluated.
  WARN  [00:43:08.267] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
  WARN  [00:43:08.269] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
  WARN  [00:43:44.659] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
  WARN  [00:43:44.662] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
  WARN  [00:44:06.844] [bbotk] Surrogate Train Error.
  WARN  [00:44:22.311] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [00:44:30.354] [bbotk] Surrogate Train Error.
  WARN  [00:44:48.826] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [00:46:08.416] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [00:46:14.197] [bbotk] Optimizer Error.
  WARN  [00:46:14.603] [bbotk] Surrogate Train Error.
  WARN  [00:46:15.324] [bbotk] Surrogate Predict Error.
  WARN  [00:47:33.125] [bbotk] Cannot predict, Learner 'regr.error' has not been trained yet
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 883 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_AcqFunctionEHVIGH.R:32:3', 'test_OptimizerMbo.R:2:3',
    'test_ResultAssignerSurrogate.R:16:3', 'test_TunerMbo.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_SurrogateLearnerCollection.R:89:3'): insample_perf ─────────────
  <surrogate_update_error/mbo_error/error/condition>
  Error: Current insample performance of the Surrogate Model does not meet the performance threshold.
  Backtrace:
      ▆
   1. └─surrogate$update() at test_SurrogateLearnerCollection.R:89:3
   2.   └─mlr3mbo:::.__Surrogate__update(...)
   3.     └─base::tryCatch(...)
   4.       └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   5.         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6.           └─value[[3L]](cond)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 883 ]
  Error: Test failures
  Execution halted