CRAN Package Check Results for Package tuneRanger

Last updated on 2024-10-15 07:49:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7 10.61 101.08 111.69 OK
r-devel-linux-x86_64-debian-gcc 0.7 8.13 73.40 81.53 OK
r-devel-linux-x86_64-fedora-clang 0.7 191.20 OK
r-devel-linux-x86_64-fedora-gcc 0.7 165.72 OK
r-devel-windows-x86_64 0.7 11.00 115.00 126.00 OK
r-patched-linux-x86_64 0.7 8.10 95.82 103.92 OK
r-release-linux-x86_64 0.7 9.08 94.88 103.96 ERROR
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 12.00 120.00 132.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 16.00 143.00 159.00 OK

Check Details

Version: 0.7
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/24s] 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: 53Smtry = 2 OOB error = 0.03237453 Searching left ... mtry = 1 OOB error = 0.03344839 -0.03316993 0.05 Searching right ... mtry = 4 OOB error = 0.03343684 -0.0328132 0.05 mtry = 3 OOB error = 11.42687 Searching left ... mtry = 2 OOB error = 11.62542 -0.01737562 0.05 Searching right ... mtry = 6 OOB error = 11.99005 -0.04928528 0.05 mtry = 3 OOB error = 0.4260697 Searching left ... mtry = 2 OOB error = 0.4113025 0.03465896 0.05 Searching right ... mtry = 6 OOB error = 0.397482 0.0670962 0.05 mtry = 9 OOB error = 0.3930329 0.01119314 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-release-linux-x86_64