* using log directory 'd:/Rcompile/CRANpkg/local/4.4/mlr3cluster.Rcheck' * using R version 4.4.1 (2024-06-14 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'mlr3cluster/DESCRIPTION' ... OK * this is package 'mlr3cluster' version '0.1.9' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'mlr3cluster' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [18s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 examples ... [13s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [19s] ERROR Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("checkmate") + library("testthat") + library("mlr3") + library("mlr3cluster") + test_check("mlr3cluster") + } Using automatic sigma estimation (sigest) for RBF or laplace kernel Setting default kernel parameters Using automatic sigma estimation (sigest) for RBF or laplace kernel Setting default kernel parameters [ FAIL 1 | WARN 13 | SKIP 5 | PASS 1672 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test_mlr_learners_clust_cobweb.R:2:1', 'test_mlr_learners_clust_em.R:2:1', 'test_mlr_learners_clust_ff.R:2:1', 'test_mlr_learners_clust_simplekmeans.R:2:1', 'test_mlr_learners_clust_xmeans.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_LearnerClust.R:38:3'): empty predict set (#421) ──────────────── Error in `UseMethod("create_empty_prediction_data")`: no applicable method for 'create_empty_prediction_data' applied to an object of class "c('TaskClust', 'TaskUnsupervised', 'Task', 'R6')" Backtrace: ▆ 1. └─learner$predict(task, hout$test_set(1)) at test_LearnerClust.R:38:3 2. └─mlr3:::.__Learner__predict(...) 3. └─mlr3:::learner_predict(self, task, row_ids) 4. └─mlr3::create_empty_prediction_data(task, learner) [ FAIL 1 | WARN 13 | SKIP 5 | PASS 1672 ] Error: Test failures Execution halted * checking PDF version of manual ... [33s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 1 ERROR