Running ‘testthat.R’ [350s/494s]
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  [18:30:03.065] [bbotk] Optimizer Error.
  WARN  [18:30:38.825] [bbotk] Less then `n_select` (1) candidate points found during acquisition function optimization were not already evaluated.
  WARN  [18:32:07.467] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
  WARN  [18:32:07.472] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
  WARN  [18:32:42.406] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
  WARN  [18:32:42.413] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
  WARN  [18:33:05.738] [bbotk] Surrogate Train Error.
  WARN  [18:33:21.497] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [18:33:30.860] [bbotk] Surrogate Train Error.
  WARN  [18:33:54.590] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [18:35:19.729] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [18:35:25.311] [bbotk] Optimizer Error.
  WARN  [18:35:25.858] [bbotk] Surrogate Train Error.
  WARN  [18:35:26.190] [bbotk] Surrogate Predict Error.
  WARN  [18:36:52.628] [bbotk] Cannot predict, Learner 'regr.error' has not been trained yet
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 888 ]
  
  ══ 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test_OptimizerMbo.R:218:3'): OptimizerMbo up to date surrogate after optimization ──
  all(predictions$se < 1e-04) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 888 ]
  Error: Test failures
  Execution halted