Running ‘testthat.R’ [300s/355s]
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: mlr3tuning
  Loading required package: mlr3
  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
  WARN  [16:58:27.239] [bbotk] Optimizer Error.
  [ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • On CRAN (17): 'test_AcqFunctionEHVIGH.R:35:3',
    'test_AcqFunctionStochasticCB.R:2:3', 'test_AcqFunctionStochasticCB.R:29:3',
    'test_AcqFunctionStochasticCB.R:57:3', 'test_AcqFunctionStochasticCB.R:86:3',
    'test_AcqFunctionStochasticCB.R:115:3', 'test_AcqFunctionStochasticEI.R:2:3',
    'test_AcqFunctionStochasticEI.R:30:3', 'test_AcqFunctionStochasticEI.R:58:3',
    'test_OptimizerADBO.R:2:3', 'test_OptimizerAsyncMbo.R:2:3',
    'test_OptimizerAsyncMbo.R:23:3', 'test_OptimizerMbo.R:2:3',
    'test_ResultAssignerSurrogate.R:16:3', 'test_TunerADBO.R:2:3',
    'test_TunerAsyncMbo.R:2:3', 'test_TunerMbo.R:2:3'
  • empty test (1): 'test_bayesopt_ego.R:55:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_mbo_defaults.R:88:3'): default_surrogate ─────────────────────
  sortnames(x) (`actual`) not equal to sortnames(y) (`expected`).
  
  `actual` is length 12
  `expected` is length 11
  
       names(actual)                  | names(expected)                
   [6] "imputeoor.offset"             | "imputeoor.offset"         [6] 
   [7] "imputeoor.multiplier"         | "imputeoor.multiplier"     [7] 
   [8] "imputeoor.min"                | "imputeoor.min"            [8] 
   [9] "imputeoor.create_empty_level" -                                
  [10] "imputeoor.affect_columns"     | "imputeoor.affect_columns" [9] 
  [11] "colapply.applicator"          | "colapply.applicator"      [10]
  [12] "colapply.affect_columns"      | "colapply.affect_columns"  [11]
  
  `actual$imputeoor.create_empty_level` is a logical vector (FALSE)
  `expected$imputeoor.create_empty_level` is absent
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_equal_sorted(...) at test_mbo_defaults.R:88:3
   2.   └─testthat::expect_equal(sortnames(x), sortnames(y), ...) at tests/testthat/helper.R:243:3
  
  [ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
  Error: Test failures
  Execution halted