* using log directory ‘/srv/hornik/tmp/CRAN_pretest/mlr3resampling.Rcheck’ * using R Under development (unstable) (2025-06-22 r88341) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘mlr3resampling/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘mlr3resampling’ version ‘2025.6.23’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/7s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘mlr3resampling’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking whether startup messages can be suppressed ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [5s/5s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [8s/8s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [6s/6s] ERROR Running ‘testthat.R’ [6s/6s] 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:11:06.918] [bbotk] Starting to optimize 0 parameter(s) with '' and ' [n_evals=1, k=0]' INFO [11:11:06.945] [bbotk] Evaluating 1 configuration(s) INFO [11:11:06.958] [mlr3] Running benchmark with 1 resampling iterations INFO [11:11:07.018] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) INFO [11:11:08.049] [bbotk] Starting to optimize 0 parameter(s) with '' and ' [n_evals=1, k=0]' INFO [11:11:08.051] [bbotk] Evaluating 1 configuration(s) INFO [11:11:08.058] [mlr3] Running benchmark with 1 resampling iterations INFO [11:11:08.080] [mlr3] Applying learner 'regr.mlp' on task 'easy' (iter 1/1) [ FAIL 2 | WARN 2 | SKIP 0 | PASS 101 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CRAN.R:671:3'): mlr3torch history saved ──────────────────────── 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:671: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 = ``, task = ``) 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 = ``) 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:774:3'): mlr3torch history and weights saved ──────────── 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:774: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 = ``, task = ``) 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 = ``) 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 2 | SKIP 0 | PASS 101 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [88s/88s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR