Running 'testthat.R' [114s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > # the unit tests take pretty long, that can be a problem on WB and cran (and maybe annoying locally)
  > # so we run all tests only on travis and if a certain user env var is set
  > if (identical(Sys.getenv("TRAVIS"), "true") || identical(Sys.getenv("R_EXPENSIVE_TEST_OK"), "true") || identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   test_check("mlrMBO")
  + } else {
  +   test_check("mlrMBO", filter = "((mbo_rf)|(mbo_km))")
  + }
  Loading required package: mlrMBO
  Loading required package: mlr
  Loading required package: ParamHelpers
  Warning message: 'mlr' is in 'maintenance-only' mode since July 2019.
  Future development will only happen in 'mlr3'
  (<https://mlr3.mlr-org.com>). Due to the focus on 'mlr3' there might be
  uncaught bugs meanwhile in {mlr} - please consider switching.
  Loading required package: smoof
  Loading required package: checkmate
  == Failed tests ================================================================
  -- Error (test_mbo_km.R:11:3): mbo works with km -------------------------------
  Error: the leading minor of order 6 is not positive definite
  Backtrace:
       x
    1. \-mlrMBO::mbo(testf.fsphere.2d, des, learner = learner, control = ctrl) test_mbo_km.R:11:2
    2.   +-mlrMBO:::mboTemplate(opt.problem)
    3.   \-mlrMBO:::mboTemplate.OptProblem(opt.problem)
    4.     +-mlrMBO:::mboTemplate(opt.state)
    5.     \-mlrMBO:::mboTemplate.OptState(opt.state)
    6.       \-mlrMBO::proposePoints(opt.state)
    7.         \-mlrMBO:::proposePointsByInfillOptimization(opt.state)
    8.           +-models %??% getOptStateModels(opt.state)$models
    9.           \-mlrMBO:::getOptStateModels(opt.state)
   10.             \-mlrMBO:::trainModels(...)
   11.               +-mlrMBO:::measureTime(...)
   12.               | \-base::force(expr)
   13.               \-mlr::train(learner, tasks[[i]])
   14.                 +-mlr:::measureTime(...)
   15.                 | \-base::force(expr)
   16.                 +-mlr:::fun1(...)
   17.                 | +-utils::capture.output(suppressMessages(x))
   18.                 | | \-utils:::evalVis(expr)
   19.                 | |   +-base::withVisible(eval(expr, pf))
   20.                 | |   \-base::eval(expr, pf)
   21.                 | |     \-base::eval(expr, pf)
   22.                 | \-backports::suppressMessages(x)
   23.                 |   \-base::withCallingHandlers(...)
   24.                 +-base:::fun2(fun3(do.call(trainLearner, pars)))
   25.                 +-base:::fun3(do.call(trainLearner, pars))
   26.                 +-base::do.call(trainLearner, pars)
   27.                 +-(function (.learner, .task, .subset, .weights = NULL, ...) ...
   28.                 \-mlr:::trainLearner.regr.km(...)
   29.                   +-base::do.call(...)
   30.                   \-(function (formula = ~1, design, response, covtype = "matern5_2", ...
   31.                     \-DiceKriging:::f(model, envir = envir.logLik)
   32.                       \-stats::optim(...)
   33.                         \-(function (par) ...
   34.                           \-DiceKriging:::fn(par, ...)
   35.                             +-base::chol(R)
   36.                             \-base::chol.default(R)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 39 ]
  Error: Test failures
  Execution halted