The revdep check of mlr3@encapsulate (next main) gives for mlr3cluster:
* using log directory ‘/home/ubuntu/mlr3/revdep/checks/mlr3cluster/new/mlr3cluster.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: x86_64-pc-linux-gnu (64-bit)
* R was compiled by
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
* running under: Ubuntu 20.04.6 LTS
* using session charset: UTF-8
* using options ‘--no-manual --no-build-vignettes’
* 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 ... NOTE
Package suggested but not available for checking: ‘RWeka’
* 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 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 R 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 startup messages can be suppressed ... 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 ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... NOTE
Package unavailable to check Rd xrefs: ‘RWeka’
* 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 ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
'test_mlr_learners_clust_simplekmeans.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 23 | SKIP 5 | PASS 1672 ]
Error: Test failures
Execution halted
* DONE
Status: 1 ERROR, 2 NOTEs
``
The revdep check of
mlr3@encapsulate
(next main) gives for mlr3cluster: