* using log directory ‘/srv/hornik/tmp/CRAN_pretest/mlr3tuning.Rcheck’ * using R Under development (unstable) (2024-11-07 r87302) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.1 (1) Debian flang-new version 19.1.1 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘mlr3tuning/DESCRIPTION’ ... OK * this is package ‘mlr3tuning’ version ‘1.2.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/8s] 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 ‘mlr3tuning’ can be installed ... [6s/6s] 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 ... [14s/14s] OK * checking Rd files ... [1s/1s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [20s/20s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [142s/142s] ERROR Running ‘testthat.R’ [141s/141s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") + library("mlr3tuning") + test_check("mlr3tuning") + } Loading required package: mlr3 Loading required package: paradox [ FAIL 2 | WARN 0 | SKIP 56 | PASS 4559 ] ══ Skipped tests (56) ══════════════════════════════════════════════════════════ • On CRAN (56): 'test_ArchiveAsyncTuning.R:2:3', 'test_ArchiveAsyncTuning.R:55:3', 'test_ArchiveAsyncTuning.R:110:3', 'test_ArchiveAsyncTuning.R:134:3', 'test_ArchiveAsyncTuning.R:154:3', 'test_ArchiveAsyncTuning.R:191:3', 'test_ArchiveAsyncTuning.R:230:3', 'test_ArchiveAsyncTuning.R:261:3', 'test_AutoTuner.R:622:3', 'test_CallbackAsyncTuning.R:4:3', 'test_CallbackAsyncTuning.R:51:3', 'test_CallbackAsyncTuning.R:76:3', 'test_CallbackAsyncTuning.R:103:3', 'test_CallbackAsyncTuning.R:135:3', 'test_CallbackAsyncTuning.R:158:3', 'test_CallbackAsyncTuning.R:188:3', 'test_CallbackAsyncTuning.R:215:3', 'test_CallbackAsyncTuning.R:263:3', 'test_CallbackAsyncTuning.R:291:3', 'test_CallbackAsyncTuning.R:317:3', 'test_Tuner.R:68:3', 'test_TunerAsyncDesignPoints.R:2:3', 'test_TunerAsyncGridSearch.R:2:3', 'test_TunerAsyncRandomSearch.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:28:3', 'test_TuningInstanceAsyncMultiCrit.R:51:3', 'test_TuningInstanceAsyncMultiCrit.R:73:3', 'test_TuningInstanceAsyncMultiCrit.R:95:3', 'test_TuningInstanceAsyncMultiCrit.R:121:3', 'test_TuningInstanceAsyncMultiCrit.R:174:3', 'test_TuningInstanceAsyncSingleCrit.R:2:3', 'test_TuningInstanceAsyncSingleCrit.R:27:3', 'test_TuningInstanceAsyncSingleCrit.R:48:3', 'test_TuningInstanceAsyncSingleCrit.R:70:3', 'test_TuningInstanceAsyncSingleCrit.R:94:3', 'test_TuningInstanceAsyncSingleCrit.R:119:3', 'test_TuningInstanceAsyncSingleCrit.R:167:3', 'test_TuningInstanceAsyncSingleCrit.R:195:3', 'test_TuningInstanceAsyncSingleCrit.R:208:3', 'test_auto_tuner.R:25:3', 'test_auto_tuner.R:46:3', 'test_mlr_callbacks.R:40:3', 'test_mlr_callbacks.R:91:3', 'test_mlr_callbacks.R:113:3', 'test_mlr_callbacks.R:135:3', 'test_mlr_callbacks.R:154:3', 'test_mlr_callbacks.R:182:3', 'test_mlr_callbacks.R:206:3', 'test_mlr_callbacks.R:237:3', 'test_mlr_callbacks.R:394:3', 'test_mlr_callbacks.R:434:3', 'test_ti_async.R:2:3', 'test_ti_async.R:16:3', 'test_ti_async.R:30:3', 'test_ti_async.R:42:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_CallbackAsyncTuning.R:35:3'): on_optimization_end works ──────── Error in `initialize(...)`: Can't connect to Redis. Check the configuration. Backtrace: ▆ 1. └─mlr3tuning::tune(...) at test_CallbackAsyncTuning.R:35:3 2. └─TuningInstance$new(...) 3. └─mlr3tuning (local) initialize(...) 4. └─mlr3tuning:::.__TuningInstanceAsyncSingleCrit__initialize(...) 5. └─rush::rsh() 6. └─Rush$new(network_id, config) 7. └─rush (local) initialize(...) ── Error ('test_CallbackAsyncTuning.R:246:3'): on_result in TuningInstanceSingleCrit works ── Error in `rush::rush_plan(n_workers = 2)`: Can't connect to Redis. Check the configuration. Backtrace: ▆ 1. └─rush::rush_plan(n_workers = 2) at test_CallbackAsyncTuning.R:246:3 [ FAIL 2 | WARN 0 | SKIP 56 | PASS 4559 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR