Running ‘testthat.R’ [12s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tuneRanger)
  Loading required package: ranger
  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
  Loading required package: parallel
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  Loading required package: lhs
  > 
  > test_check("tuneRanger")
  Approximated time for tuning: 53Smtry = 2  OOB error = 0.03610172 
  Searching left ...
  mtry = 1 	OOB error = 0.03556442 
  0.01488313 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.03231941 
  0.1047684 0.05 
  mtry = 3  OOB error = 10.70144 
  Searching left ...
  mtry = 2 	OOB error = 10.15161 
  0.0513787 0.05 
  mtry = 1 	OOB error = 12.02536 
  -0.1845763 0.05 
  Searching right ...
  mtry = 6 	OOB error = 11.04265 
  -0.08777274 0.05 
  mtry = 3  OOB error = 0.4210526 
  Searching left ...
  mtry = 2 	OOB error = 0.4100719 
  0.02607914 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.4108292 
  0.02428058 0.05 
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_base.R:18:3'): classification ranger ───────────────────────────
  Error in `optim(par = parinit, fn = fn, gr = gr, method = "L-BFGS-B", lower = lower, 
      upper = upper, control = controlChecked, hessian = FALSE, 
      model, envir = envir)`: non-finite value supplied by optim
  Backtrace:
       ▆
    1. └─tuneRanger::tuneRanger(...) at test_base.R:18:2
    2.   └─mlrMBO::mbo(...)
    3.     ├─mlrMBO:::mboTemplate(opt.problem)
    4.     └─mlrMBO:::mboTemplate.OptProblem(opt.problem)
    5.       ├─mlrMBO:::mboTemplate(opt.state)
    6.       └─mlrMBO:::mboTemplate.OptState(opt.state)
    7.         └─mlrMBO::proposePoints(opt.state)
    8.           └─mlrMBO:::proposePointsByInfillOptimization(opt.state)
    9.             ├─models %??% getOptStateModels(opt.state)$models
   10.             └─mlrMBO:::getOptStateModels(opt.state)
   11.               └─mlrMBO:::trainModels(...)
   12.                 ├─mlrMBO:::measureTime(...)
   13.                 │ └─base::force(expr)
   14.                 └─mlr::train(learner, tasks[[i]])
   15.                   ├─mlr:::measureTime(...)
   16.                   │ └─base::force(expr)
   17.                   ├─mlr (local) fun1(...)
   18.                   │ ├─utils::capture.output(suppressMessages(x))
   19.                   │ │ └─base::withVisible(...elt(i))
   20.                   │ └─base::suppressMessages(x)
   21.                   │   └─base::withCallingHandlers(...)
   22.                   ├─base (local) fun2(fun3(do.call(trainLearner, pars)))
   23.                   ├─base (local) fun3(do.call(trainLearner, pars))
   24.                   ├─base::do.call(trainLearner, pars)
   25.                   ├─mlr (local) `<fn>`(...)
   26.                   └─mlr:::trainLearner.regr.km(...)
   27.                     ├─base::do.call(...)
   28.                     └─DiceKriging (local) `<fn>`(...)
   29.                       └─DiceKriging (local) f(model, envir = envir.logLik)
   30.                         └─stats::optim(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted