Running 'testthat.R' [25s]
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: 52Smtry = 2  OOB error = 0.03676962 
  Searching left ...
  mtry = 1 	OOB error = 0.03224131 
  0.1231535 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.03523164 
  -0.09274822 0.05 
  mtry = 3  OOB error = 10.83738 
  Searching left ...
  mtry = 2 	OOB error = 11.2154 
  -0.03488163 0.05 
  Searching right ...
  mtry = 6 	OOB error = 11.66639 
  -0.0764957 0.05 
  mtry = 3  OOB error = 0.4151836 
  Searching left ...
  mtry = 2 	OOB error = 0.4250284 
  -0.02371181 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.3940742 
  0.05084359 0.05 
  mtry = 9 	OOB error = 0.3930329 
  0.002642325 0.05 
  Error: mtry can not be larger than number of variables in data. Ranger will EXIT now.
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_base.R:46:3'): tuneMtryFast ────────────────────────────────────
  Error in `ranger(formula, data, dependent.variable.name = dependent.variable.name, 
      mtry = res[which.min(res[, 2]), 1], ...)`: User interrupt or internal error.
  Backtrace:
       ▆
    1. └─mlr::train(learner, lung.task) at test_base.R:46:2
    2.   ├─mlr:::measureTime(...)
    3.   │ └─base::force(expr)
    4.   ├─base (local) fun1(...)
    5.   ├─base (local) fun2(fun3(do.call(trainLearner, pars)))
    6.   ├─base (local) fun3(do.call(trainLearner, pars))
    7.   ├─base::do.call(trainLearner, pars)
    8.   ├─mlr (local) `<fn>`(.learner = `<srv.tnMF>`, .task = `<SurvTask>`, .subset = NULL)
    9.   └─tuneRanger:::trainLearner.surv.tuneMtryFast(...)
   10.     └─tuneRanger::tuneMtryFast(...)
   11.       └─ranger::ranger(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ]
  Error: Test failures
  Execution halted