CRAN Package Check Results for Package tuneRanger

Last updated on 2024-11-29 00:49:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7 10.66 99.93 110.59 OK
r-devel-linux-x86_64-debian-gcc 0.7 7.65 73.10 80.75 ERROR
r-devel-linux-x86_64-fedora-clang 0.7 187.62 OK
r-devel-linux-x86_64-fedora-gcc 0.7 173.15 OK
r-devel-windows-x86_64 0.7 12.00 120.00 132.00 OK
r-patched-linux-x86_64 0.7 10.02 95.96 105.98 OK
r-release-linux-x86_64 0.7 9.02 95.49 104.51 OK
r-release-macos-arm64 0.7 51.00 OK
r-release-macos-x86_64 0.7 83.00 OK
r-release-windows-x86_64 0.7 11.00 119.00 130.00 OK
r-oldrel-macos-arm64 0.7 58.00 OK
r-oldrel-macos-x86_64 0.7 136.00 OK
r-oldrel-windows-x86_64 0.7 13.00 140.00 153.00 OK

Check Details

Version: 0.7
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/17s] 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 Loading required package: smoof Loading required package: checkmate Loading required package: parallel Loading required package: lhs > > test_check("tuneRanger") Approximated time for tuning: 54Smtry = 2 OOB error = 0.03530977 Searching left ... mtry = 1 OOB error = 0.03314795 0.06122422 0.05 Searching right ... mtry = 4 OOB error = 0.03484352 -0.05115136 0.05 mtry = 3 OOB error = 12.15125 Searching left ... mtry = 2 OOB error = 11.96371 0.01543395 0.05 Searching right ... mtry = 6 OOB error = 11.54036 0.05027386 0.05 mtry = 12 OOB error = 11.20765 0.02883033 0.05 mtry = 3 OOB error = 0.4379023 Searching left ... mtry = 2 OOB error = 0.4272056 0.02442715 0.05 Searching right ... mtry = 6 OOB error = 0.4154676 0.05123217 0.05 mtry = 9 OOB error = 0.4047709 0.02574618 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:3 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 Flavor: r-devel-linux-x86_64-debian-gcc