Running 'testthat.R' [26s]
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 objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  Loading required package: lhs
  > 
  > test_check("tuneRanger")
  Approximated time for tuning: 51Smtry = 2  OOB error = 0.03944176 
  Searching left ...
  mtry = 1 	OOB error = 0.03615849 
  0.08324363 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.03391497 
  0.06204678 0.05 
  mtry = 3  OOB error = 11.65441 
  Searching left ...
  mtry = 2 	OOB error = 11.56523 
  0.007652324 0.05 
  Searching right ...
  mtry = 6 	OOB error = 12.51572 
  -0.07390451 0.05 
  mtry = 3  OOB error = 0.4357251 
  Searching left ...
  mtry = 2 	OOB error = 0.4191594 
  0.03801868 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.4080841 
  0.06343689 0.05 
  mtry = 9 	OOB error = 0.4017418 
  0.01554164 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