Running 'testthat.R' [31s]
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
  'mlr' is in maintenance mode since July 2019. Future development
  efforts will go into its successor 'mlr3' (<https://mlr3.mlr-org.com>).
  Loading required package: smoof
  Loading required package: checkmate
  Loading required package: parallel
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  Loading required package: lhs
  > 
  > test_check("tuneRanger")
  Approximated time for tuning: 53Smtry = 2  OOB error = 0.03396482 
  Searching left ...
  mtry = 1 	OOB error = 0.03408459 
  -0.003526375 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.03448788 
  -0.01540014 0.05 
  mtry = 3  OOB error = 12.93321 
  Searching left ...
  mtry = 2 	OOB error = 11.9978 
  0.07232612 0.05 
  mtry = 1 	OOB error = 11.3571 
  0.05340148 0.05 
  Searching right ...
  mtry = 6 	OOB error = 12.80033 
  -0.1270773 0.05 
  mtry = 3  OOB error = 0.4359144 
  Searching left ...
  mtry = 2 	OOB error = 0.4358198 
  0.0002171553 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.4119652 
  0.05494028 0.05 
  mtry = 9 	OOB error = 0.409504 
  0.005974265 0.05 
  Error: mtry can not be larger than number of variables in data. Ranger will EXIT now.
  -- 1. Error: tuneMtryFast (@test_base.R#46)  -----------------------------------
  User interrupt or internal error.
  Backtrace:
    1. mlr::train(learner, lung.task)
    9. tuneRanger:::trainLearner.surv.tuneMtryFast(...)
   10. tuneRanger::tuneMtryFast(...)
   11. ranger::ranger(...)
  
  == testthat results  ===========================================================
  [ OK: 6 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: tuneMtryFast (@test_base.R#46) 
  
  Error: testthat unit tests failed
  Execution halted