* using log directory ‘/srv/hornik/tmp/CRAN_pretest/mlr3cluster.Rcheck’ * using R Under development (unstable) (2025-11-19 r89037) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.5 (1) Debian flang version 21.1.5 (1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘mlr3cluster/DESCRIPTION’ ... OK * this is package ‘mlr3cluster’ version ‘0.1.12’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/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 ‘mlr3cluster’ can be installed ... [12s/12s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [7s/7s] 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 examples ... [14s/14s] ERROR Running examples in ‘mlr3cluster-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_learners_clust.xmeans > ### Title: X-means Clustering Learner > ### Aliases: mlr_learners_clust.xmeans LearnerClustXMeans > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(lrn("clust.xmeans")$packages, quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + # Define the Learner and set parameter values + learner = lrn("clust.xmeans") + print(learner) + + # Define a Task + task = tsk("usarrests") + + # Train the learner on the task + learner$train(task) + + # Print the model + print(learner$model) + + # Make predictions for the task + prediction = learner$predict(task) + + # Score the predictions + prediction$score(task = task) + ## Don't show: + }) # examplesIf > learner = lrn("clust.xmeans") > print(learner) ── (clust.xmeans): X-means ──────────────────────────────── • Model: - • Parameters: list() • Packages: mlr3, mlr3cluster, and RWeka • Predict Types: [partition] • Feature Types: logical, integer, and numeric • Encapsulation: none (fallback: -) • Properties: complete, exclusive, and partitional • Other settings: use_weights = 'error' > task = tsk("usarrests") > learner$train(task) Error in WPM(".check-installed-and-load", package) : Required Weka package 'XMeans' is not installed. Calls: withAutoprint ... -> .structure -> RWeka_build_clusterer -> WPM Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [15s/15s] OK Running ‘testthat.R’ [15s/14s] * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [4s/4s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR