Running 'testthat.R' [26s/34s]
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.03298065 
  Searching left ...
  mtry = 1 	OOB error = 0.03301512 
  -0.001045226 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.034146 
  -0.03533445 0.05 
  mtry = 3  OOB error = 12.06108 
  Searching left ...
  mtry = 2 	OOB error = 12.12255 
  -0.005096027 0.05 
  Searching right ...
  mtry = 6 	OOB error = 12.00169 
  0.004924097 0.05 
  mtry = 3  OOB error = 0.4400795 
  Searching left ...
  mtry = 2 	OOB error = 0.4210526 
  0.0432351 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.4159409 
  0.05485051 0.05 
  mtry = 9 	OOB error = 0.3948315 
  0.05075102 0.05 
  Error: mtry can not be larger than number of variables in data. Ranger will EXIT now.
  == Failed tests ================================================================
  -- Error (test_base.R:46:3): tuneMtryFast --------------------------------------
  Error: User interrupt or internal error.
  Backtrace:
       x
    1. \-mlr::train(learner, lung.task) test_base.R:46:2
    2.   +-mlr:::measureTime(...)
    3.   | \-base::force(expr)
    4.   +-base:::fun1(...)
    5.   +-base:::fun2(fun3(do.call(trainLearner, pars)))
    6.   +-base:::fun3(do.call(trainLearner, pars))
    7.   +-base::do.call(trainLearner, pars)
    8.   +-(function (.learner, .task, .subset, .weights = 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