CRAN Package Check Results for Package mlr3resampling

Last updated on 2025-10-23 02:50:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2025.6.23 5.75 354.92 360.67 NOTE
r-devel-linux-x86_64-debian-gcc 2025.6.23 3.47 249.38 252.85 OK
r-devel-linux-x86_64-fedora-clang 2025.6.23 37.00 515.60 552.60 OK
r-devel-linux-x86_64-fedora-gcc 2025.6.23 41.00 543.00 584.00 OK
r-devel-windows-x86_64 2025.6.23 7.00 286.00 293.00 ERROR
r-patched-linux-x86_64 2025.6.23 5.41 338.87 344.28 OK
r-release-linux-x86_64 2025.6.23 5.25 338.76 344.01 OK
r-release-macos-arm64 2025.6.23 3.00 150.00 153.00 OK
r-release-macos-x86_64 2025.6.23 4.00 300.00 304.00 OK
r-release-windows-x86_64 2025.6.23 7.00 280.00 287.00 ERROR
r-oldrel-macos-arm64 2025.6.23 3.00 148.00 151.00 OK
r-oldrel-macos-x86_64 2025.6.23 4.00 286.00 290.00 OK
r-oldrel-windows-x86_64 2025.6.23 9.00 378.00 387.00 ERROR

Check Details

Version: 2025.6.23
Check: HTML version of manual
Result: NOTE Found the following HTML validation problems: ResamplingSameOtherCV.html:185:1 (ResamplingSameOtherCV.Rd:150): Warning: <h5> anchor "Usage" already defined ResamplingSameOtherCV.html:191:1 (ResamplingSameOtherCV.Rd:153): Warning: <h5> anchor "Arguments" already defined ResamplingSameOtherCV.html:222:1 (ResamplingSameOtherCV.Rd:171): Warning: <h5> anchor "Usage" already defined ResamplingSameOtherCV.html:228:1 (ResamplingSameOtherCV.Rd:174): Warning: <h5> anchor "Arguments" already defined ResamplingSameOtherCV.html:242:1 (ResamplingSameOtherCV.Rd:182): Warning: <h5> anchor "Returns" already defined ResamplingSameOtherSizesCV.html:215:1 (ResamplingSameOtherSizesCV.Rd:179): Warning: <h5> anchor "Usage" already defined ResamplingSameOtherSizesCV.html:221:1 (ResamplingSameOtherSizesCV.Rd:182): Warning: <h5> anchor "Arguments" already defined ResamplingSameOtherSizesCV.html:252:1 (ResamplingSameOtherSizesCV.Rd:200): Warning: <h5> anchor "Usage" already defined ResamplingSameOtherSizesCV.html:258:1 (ResamplingSameOtherSizesCV.Rd:203): Warning: <h5> anchor "Arguments" already defined ResamplingSameOtherSizesCV.html:272:1 (ResamplingSameOtherSizesCV.Rd:211): Warning: <h5> anchor "Returns" already defined ResamplingVariableSizeTrainCV.html:169:1 (ResamplingVariableSizeTrainCV.Rd:118): Warning: <h5> anchor "Usage" already defined ResamplingVariableSizeTrainCV.html:175:1 (ResamplingVariableSizeTrainCV.Rd:121): Warning: <h5> anchor "Arguments" already defined ResamplingVariableSizeTrainCV.html:206:1 (ResamplingVariableSizeTrainCV.Rd:139): Warning: <h5> anchor "Usage" already defined ResamplingVariableSizeTrainCV.html:212:1 (ResamplingVariableSizeTrainCV.Rd:142): Warning: <h5> anchor "Arguments" already defined ResamplingVariableSizeTrainCV.html:226:1 (ResamplingVariableSizeTrainCV.Rd:150): Warning: <h5> anchor "Returns" already defined Flavor: r-devel-linux-x86_64-debian-clang

Version: 2025.6.23
Check: tests
Result: ERROR Running 'testthat.R' [12s] Running the tests in 'tests/testthat.R' failed. Complete output: > data.table::setDTthreads(1L) > if(require(testthat))test_check("mlr3resampling") Loading required package: testthat Loading required package: mlr3resampling INFO [16:36:31.140] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorEvals> [n_evals=1, k=0]' INFO [16:36:31.197] [bbotk] Evaluating 1 configuration(s) INFO [16:36:31.232] [mlr3] Running benchmark with 1 resampling iterations INFO [16:36:31.392] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) Flavor: r-devel-windows-x86_64

Version: 2025.6.23
Check: tests
Result: ERROR Running 'testthat.R' [12s] Running the tests in 'tests/testthat.R' failed. Complete output: > data.table::setDTthreads(1L) > if(require(testthat))test_check("mlr3resampling") Loading required package: testthat Loading required package: mlr3resampling INFO [11:18:23.976] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorEvals> [n_evals=1, k=0]' INFO [11:18:24.014] [bbotk] Evaluating 1 configuration(s) INFO [11:18:24.043] [mlr3] Running benchmark with 1 resampling iterations INFO [11:18:24.182] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) Flavor: r-release-windows-x86_64

Version: 2025.6.23
Check: tests
Result: ERROR Running 'testthat.R' [20s] Running the tests in 'tests/testthat.R' failed. Complete output: > data.table::setDTthreads(1L) > if(require(testthat))test_check("mlr3resampling") Loading required package: testthat Loading required package: mlr3resampling INFO [00:05:13.771] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorEvals> [n_evals=1, k=0]' INFO [00:05:13.854] [bbotk] Evaluating 1 configuration(s) INFO [00:05:13.889] [mlr3] Running benchmark with 1 resampling iterations INFO [00:05:14.084] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) INFO [00:05:16.250] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorEvals> [n_evals=1, k=0]' INFO [00:05:16.256] [bbotk] Evaluating 1 configuration(s) INFO [00:05:16.272] [mlr3] Running benchmark with 1 resampling iterations INFO [00:05:16.314] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) [ FAIL 2 | WARN 3 | SKIP 0 | PASS 101 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CRAN.R:672:3'): mlr3torch history saved ──────────────────────── <std::runtime_error/C++Error/error/condition> Error in `cpp_cuda_is_available()`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─mlr3resampling::proj_compute(pkg.proj.dir) at test-CRAN.R:672:3 2. └─this.learner$train(this.task, set_rows("train")) 3. └─mlr3:::.__Learner__train(...) 4. └─mlr3:::learner_train(...) 5. └─mlr3misc::encapsulate(...) 6. ├─mlr3misc::invoke(...) 7. │ └─base::eval.parent(expr, n = 1L) 8. │ └─base::eval(expr, p) 9. │ └─base::eval(expr, p) 10. └─mlr3 (local) .f(learner = `<S3: AutoTuner>`, task = `<S3: TaskRegr>`) 11. └─get_private(learner)$.train(task) 12. └─mlr3tuning:::.__AutoTuner__.train(...) 13. └─self$tuner$optimize(instance) 14. └─mlr3tuning:::.__TunerBatch__optimize(...) 15. └─bbotk::optimize_batch_default(inst, self) 16. ├─base::tryCatch(...) 17. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 18. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 19. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 20. └─get_private(optimizer)$.optimize(instance) 21. └─mlr3tuning:::.__TunerBatchInternal__.optimize(...) 22. └─inst$eval_batch(data.table()) 23. └─bbotk:::.__OptimInstanceBatch__eval_batch(...) 24. └─self$objective$eval_many(list(list())) 25. └─bbotk:::.__Objective__eval_many(...) 26. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values) 27. │ └─base::eval.parent(expr, n = 1L) 28. │ └─base::eval(expr, p) 29. │ └─base::eval(expr, p) 30. └─private$.eval_many(xss = xss, resampling = `<list>`) 31. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...) 32. └─mlr3::benchmark(...) 33. └─mlr3:::future_map(...) 34. └─future.apply::future_mapply(...) 35. └─future.apply:::future_xapply(...) 36. └─base::tryCatch(...) 37. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 38. └─base (local) tryCatchOne(...) 39. └─value[[3L]](cond) 40. └─future.apply:::onError(e, futures = fs, debug = debug) ── Error ('test-CRAN.R:775:3'): mlr3torch history and weights saved ──────────── <std::runtime_error/C++Error/error/condition> Error in `cpp_cuda_is_available()`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─mlr3resampling::proj_compute_until_done(pkg.proj.dir) at test-CRAN.R:775:3 2. └─mlr3resampling::proj_compute(proj_dir, verbose = verbose) 3. └─this.learner$train(this.task, set_rows("train")) 4. └─mlr3:::.__Learner__train(...) 5. └─mlr3:::learner_train(...) 6. └─mlr3misc::encapsulate(...) 7. ├─mlr3misc::invoke(...) 8. │ └─base::eval.parent(expr, n = 1L) 9. │ └─base::eval(expr, p) 10. │ └─base::eval(expr, p) 11. └─mlr3 (local) .f(learner = `<S3: AutoTuner>`, task = `<S3: TaskRegr>`) 12. └─get_private(learner)$.train(task) 13. └─mlr3tuning:::.__AutoTuner__.train(...) 14. └─self$tuner$optimize(instance) 15. └─mlr3tuning:::.__TunerBatch__optimize(...) 16. └─bbotk::optimize_batch_default(inst, self) 17. ├─base::tryCatch(...) 18. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. └─get_private(optimizer)$.optimize(instance) 22. └─mlr3tuning:::.__TunerBatchInternal__.optimize(...) 23. └─inst$eval_batch(data.table()) 24. └─bbotk:::.__OptimInstanceBatch__eval_batch(...) 25. └─self$objective$eval_many(list(list())) 26. └─bbotk:::.__Objective__eval_many(...) 27. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values) 28. │ └─base::eval.parent(expr, n = 1L) 29. │ └─base::eval(expr, p) 30. │ └─base::eval(expr, p) 31. └─private$.eval_many(xss = xss, resampling = `<list>`) 32. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...) 33. └─mlr3::benchmark(...) 34. └─mlr3:::future_map(...) 35. └─future.apply::future_mapply(...) 36. └─future.apply:::future_xapply(...) 37. └─base::tryCatch(...) 38. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 39. └─base (local) tryCatchOne(...) 40. └─value[[3L]](cond) 41. └─future.apply:::onError(e, futures = fs, debug = debug) [ FAIL 2 | WARN 3 | SKIP 0 | PASS 101 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64