Running ‘run.R’
Running the tests in ‘tests/run.R’ failed.
Complete output:
  > library("testthat")
  > library("mlr3")
  > library("mlr3tuning")
  Loading required package: paradox
  > library("paradox")
  > test_check("mlrintermbo")
  Loading required package: mlrintermbo
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_custom_learner.R:61:3): custom surrogate ────────────────────────
  Error: there is no package called ‘ParamHelpers’
  Backtrace:
       █
    1. └─tuner$optimize(ti) test_custom_learner.R:61:2
    2.   └─bbotk:::.__Optimizer__optimize(...)
    3.     └─bbotk::optimize_default(inst, self, private)
    4.       ├─base::tryCatch(...)
    5.       │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
    6.       │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
    7.       │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
    8.       └─private$.optimize(inst)
    9.         └─mlrintermbo:::.__OptimizerInterMBO__.optimize(...)
   10.           └─mlrintermbo:::ParamHelpersParamSet(self$r.session, instance$search_space)
   11.             └─mlrintermbo:::encall(...)
  ── Error (test_mbo.R:63:3): mbo different settings ─────────────────────────────
  Error: there is no package called ‘ParamHelpers’
  Backtrace:
       █
    1. └─mlrintermbo:::eval_mbo(list()) test_mbo.R:63:2
    2.   └─tuner$optimize(ti) test_mbo.R:59:4
    3.     └─bbotk:::.__Optimizer__optimize(...)
    4.       └─bbotk::optimize_default(inst, self, private)
    5.         ├─base::tryCatch(...)
    6.         │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
    7.         │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
    8.         │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
    9.         └─private$.optimize(inst)
   10.           └─mlrintermbo:::.__OptimizerInterMBO__.optimize(...)
   11.             └─mlrintermbo:::ParamHelpersParamSet(self$r.session, instance$search_space)
   12.               └─mlrintermbo:::encall(...)
  
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 0 ]
  Error: Test failures
  Execution halted