* using log directory 'd:/RCompile/CRANincoming/R-devel/mlr3cluster.Rcheck' * using R Under development (unstable) (2025-11-18 r89035 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.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.12' * package encoding: UTF-8 * checking CRAN incoming feasibility ... 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'mlr3cluster' can be installed ... OK * checking installed package size ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... [11s] OK * checking Rd files ... 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 ... [18s] 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 ... [22s] OK Running 'testthat.R' [22s] * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [14s] OK * DONE Status: 1 ERROR