CRAN Package Check Results for Package mlr3pipelines

Last updated on 2024-09-27 01:50:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.0 30.26 477.58 507.84 OK
r-devel-linux-x86_64-debian-gcc 0.7.0 20.37 369.24 389.61 OK
r-devel-linux-x86_64-fedora-clang 0.7.0 615.60 OK
r-devel-linux-x86_64-fedora-gcc 0.7.0 617.27 ERROR
r-devel-windows-x86_64 0.7.0 29.00 410.00 439.00 OK
r-patched-linux-x86_64 0.6.0 38.88 438.10 476.98 ERROR
r-release-linux-x86_64 0.7.0 29.27 522.90 552.17 OK
r-release-macos-arm64 0.7.0 180.00 OK
r-release-macos-x86_64 0.7.0 329.00 OK
r-release-windows-x86_64 0.7.0 30.00 397.00 427.00 OK
r-oldrel-macos-arm64 0.7.0 174.00 OK
r-oldrel-macos-x86_64 0.7.0 303.00 OK
r-oldrel-windows-x86_64 0.7.0 30.00 445.00 475.00 OK

Check Details

Version: 0.7.0
Check: tests
Result: ERROR Running ‘testthat.R’ [306s/145s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("checkmate") + library("testthat") + library("mlr3") + library("paradox") + library("mlr3pipelines") + test_check("mlr3pipelines") + } Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 87 | PASS 12484 ] ══ Skipped tests (87) ══════════════════════════════════════════════════════════ • On CRAN (85): 'test_CnfFormula_simplify.R:6:3', 'test_CnfFormula.R:591:3', 'test_Graph.R:281:3', 'test_dictionary.R:7:3', 'test_learner_weightedaverage.R:5:3', 'test_learner_weightedaverage.R:57:3', 'test_learner_weightedaverage.R:105:3', 'test_learner_weightedaverage.R:152:3', 'test_meta.R:39:3', 'test_GraphLearner.R:5:3', 'test_GraphLearner.R:184:3', 'test_GraphLearner.R:306:3', 'test_GraphLearner.R:371:3', 'test_mlr_graphs_branching.R:26:3', 'test_mlr_graphs_bagging.R:6:3', 'test_mlr_graphs_robustify.R:5:3', 'test_pipeop_adas.R:8:3', 'test_pipeop_blsmote.R:8:3', 'test_pipeop_branch.R:4:3', 'test_pipeop_chunk.R:4:3', 'test_pipeop_boxcox.R:9:3', 'test_pipeop_classbalancing.R:10:3', 'test_pipeop_classweights.R:10:3', 'test_pipeop_colapply.R:9:3', 'test_pipeop_copy.R:5:3', 'test_pipeop_colroles.R:10:3', 'test_pipeop_encode.R:21:3', 'test_pipeop_encodeimpact.R:11:3', 'test_pipeop_datefeatures.R:13:3', 'test_pipeop_encodelmer.R:15:3', 'test_pipeop_encodelmer.R:38:3', 'test_pipeop_encodelmer.R:81:3', 'test_pipeop_featureunion.R:9:3', 'test_pipeop_featureunion.R:134:3', 'test_pipeop_filter.R:7:3', 'test_pipeop_fixfactors.R:9:3', 'test_pipeop_ensemble.R:6:3', 'test_pipeop_histbin.R:9:3', 'test_pipeop_ica.R:7:3', 'test_pipeop_impute.R:4:3', 'test_pipeop_imputelearner.R:43:3', 'test_pipeop_kernelpca.R:9:3', 'test_pipeop_learner.R:17:3', 'test_pipeop_missind.R:6:3', 'test_pipeop_modelmatrix.R:7:3', 'test_pipeop_multiplicityexply.R:9:3', 'test_pipeop_learnercv.R:31:3', 'test_pipeop_multiplicityimply.R:9:3', 'test_pipeop_mutate.R:9:3', 'test_pipeop_ovr.R:9:3', 'test_pipeop_ovr.R:48:3', 'test_pipeop_pca.R:8:3', 'test_pipeop_proxy.R:14:3', 'test_pipeop_nmf.R:9:3', 'test_pipeop_quantilebin.R:5:3', 'test_pipeop_randomprojection.R:8:3', 'test_pipeop_randomresponse.R:5:3', 'test_pipeop_removeconstants.R:10:3', 'test_pipeop_renamecolumns.R:11:3', 'test_pipeop_replicate.R:9:3', 'test_pipeop_scale.R:8:3', 'test_pipeop_scale.R:18:3', 'test_pipeop_scalemaxabs.R:7:3', 'test_pipeop_scalerange.R:8:3', 'test_pipeop_select.R:9:3', 'test_pipeop_smote.R:10:3', 'test_pipeop_rowapply.R:9:3', 'test_pipeop_smotenc.R:8:3', 'test_pipeop_subsample.R:10:3', 'test_pipeop_targetinvert.R:4:3', 'test_pipeop_targetmutate.R:5:3', 'test_pipeop_targettrafo.R:4:3', 'test_pipeop_targettrafoscalerange.R:5:3', 'test_pipeop_task_preproc.R:4:3', 'test_pipeop_task_preproc.R:14:3', 'test_pipeop_spatialsign.R:7:3', 'test_pipeop_textvectorizer.R:38:3', 'test_pipeop_textvectorizer.R:190:3', 'test_pipeop_unbranch.R:10:3', 'test_pipeop_updatetarget.R:89:3', 'test_pipeop_vtreat.R:9:3', 'test_pipeop_yeojohnson.R:8:3', 'test_pipeop_tunethreshold.R:111:3', 'test_pipeop_tunethreshold.R:191:3', 'test_typecheck.R:188:3' • empty test (2): 'test_pipeop_missind.R:101:1', 'test_ppl.R:61:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pipeop_blsmote.R:86:3'): PipeOpBLSmote - handling of feature named 'class' ── Error in `smotefamily::BLSMOTE(X = dt, target = task$truth())`: K cannot exceed the size of DANGER This happened PipeOp blsmote's $train() Backtrace: ▆ 1. ├─op$train(list(task)) at test_pipeop_blsmote.R:86:3 2. │ └─mlr3pipelines:::.__PipeOp__train(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─private$.train(input) 5. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 6. │ └─private$.train_task(intask) 7. │ └─mlr3pipelines:::.__PipeOpBLSmote__.train_task(...) 8. │ ├─utils::capture.output(...) 9. │ │ └─base::withVisible(...elt(i)) 10. │ ├─data.table::setDT(...) 11. │ │ └─data.table::is.data.table(x) 12. │ ├─mlr3misc::invoke(...) 13. │ │ └─base::eval.parent(expr, n = 1L) 14. │ │ └─base::eval(expr, p) 15. │ │ └─base::eval(expr, p) 16. │ └─smotefamily::BLSMOTE(X = dt, target = task$truth()) 17. │ └─base::stop("K cannot exceed the size of DANGER") 18. └─base::.handleSimpleError(...) 19. └─mlr3pipelines (local) h(simpleError(msg, call)) [ FAIL 1 | WARN 0 | SKIP 87 | PASS 12484 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.6.0
Check: examples
Result: ERROR Running examples in ‘mlr3pipelines-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_pipeops_regravg > ### Title: Weighted Prediction Averaging > ### Aliases: mlr_pipeops_regravg PipeOpRegrAvg > > ### ** Examples > > ## Don't show: > if (requireNamespace("rpart")) { + ## End(Don't show) + library("mlr3") + + # Simple Bagging + gr = ppl("greplicate", + po("subsample") %>>% + po("learner", lrn("classif.rpart")), + n = 5 + ) %>>% + po("classifavg") + + resample(tsk("iris"), GraphLearner$new(gr), rsmp("holdout")) + ## Don't show: + } INFO [01:29:10.594] [mlr3] Applying learner 'subsample_1.subsample_2.subsample_3.subsample_4.subsample_5.classif.rpart_1.classif.rpart_2.classif.rpart_3.classif.rpart_4.classif.rpart_5.classifavg' on task 'iris' (iter 1/1) <ResampleResult> with 1 resampling iterations Error in as.vector(x, "character") : cannot coerce type 'environment' to vector of type 'character' Calls: <Anonymous> ... toString.default -> paste -> as.character -> as.character.default Execution halted Flavor: r-patched-linux-x86_64

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [246s/124s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("checkmate") + library("testthat") + library("mlr3") + library("paradox") + library("mlr3pipelines") + test_check("mlr3pipelines") + } Starting 2 test processes [ FAIL 3 | WARN 3 | SKIP 79 | PASS 11785 ] ══ Skipped tests (79) ══════════════════════════════════════════════════════════ • On CRAN (76): 'test_Graph.R:279:3', 'test_GraphLearner.R:5:3', 'test_GraphLearner.R:180:3', 'test_GraphLearner.R:249:3', 'test_GraphLearner.R:314:3', 'test_dictionary.R:7:3', 'test_learner_weightedaverage.R:5:3', 'test_learner_weightedaverage.R:57:3', 'test_learner_weightedaverage.R:105:3', 'test_learner_weightedaverage.R:152:3', 'test_meta.R:39:3', 'test_mlr_graphs_branching.R:26:3', 'test_mlr_graphs_bagging.R:6:3', 'test_mlr_graphs_robustify.R:5:3', 'test_pipeop_branch.R:4:3', 'test_pipeop_chunk.R:4:3', 'test_pipeop_classbalancing.R:10:3', 'test_pipeop_classweights.R:10:3', 'test_pipeop_boxcox.R:9:3', 'test_pipeop_colroles.R:10:3', 'test_pipeop_colapply.R:9:3', 'test_pipeop_copy.R:5:3', 'test_pipeop_encode.R:21:3', 'test_pipeop_encodeimpact.R:11:3', 'test_pipeop_encodelmer.R:15:3', 'test_pipeop_encodelmer.R:38:3', 'test_pipeop_encodelmer.R:81:3', 'test_pipeop_datefeatures.R:13:3', 'test_pipeop_featureunion.R:9:3', 'test_pipeop_featureunion.R:134:3', 'test_pipeop_filter.R:7:3', 'test_pipeop_fixfactors.R:9:3', 'test_pipeop_histbin.R:9:3', 'test_pipeop_ensemble.R:6:3', 'test_pipeop_ica.R:7:3', 'test_pipeop_impute.R:4:3', 'test_pipeop_imputelearner.R:42:3', 'test_pipeop_kernelpca.R:9:3', 'test_pipeop_learner.R:17:3', 'test_pipeop_missind.R:6:3', 'test_pipeop_modelmatrix.R:7:3', 'test_pipeop_multiplicityexply.R:9:3', 'test_pipeop_learnercv.R:31:3', 'test_pipeop_mutate.R:9:3', 'test_pipeop_multiplicityimply.R:9:3', 'test_pipeop_ovr.R:9:3', 'test_pipeop_ovr.R:48:3', 'test_pipeop_pca.R:8:3', 'test_pipeop_proxy.R:14:3', 'test_pipeop_quantilebin.R:5:3', 'test_pipeop_randomprojection.R:8:3', 'test_pipeop_nmf.R:9:3', 'test_pipeop_randomresponse.R:5:3', 'test_pipeop_renamecolumns.R:11:3', 'test_pipeop_removeconstants.R:10:3', 'test_pipeop_replicate.R:9:3', 'test_pipeop_scale.R:8:3', 'test_pipeop_scale.R:18:3', 'test_pipeop_scalemaxabs.R:7:3', 'test_pipeop_scalerange.R:8:3', 'test_pipeop_select.R:9:3', 'test_pipeop_smote.R:10:3', 'test_pipeop_subsample.R:10:3', 'test_pipeop_targetinvert.R:4:3', 'test_pipeop_targetmutate.R:5:3', 'test_pipeop_targettrafo.R:4:3', 'test_pipeop_targettrafoscalerange.R:5:3', 'test_pipeop_task_preproc.R:4:3', 'test_pipeop_task_preproc.R:14:3', 'test_pipeop_spatialsign.R:7:3', 'test_pipeop_textvectorizer.R:38:3', 'test_pipeop_textvectorizer.R:190:3', 'test_pipeop_unbranch.R:10:3', 'test_pipeop_updatetarget.R:89:3', 'test_pipeop_vtreat.R:9:3', 'test_pipeop_yeojohnson.R:8:3' • empty test (2): 'test_pipeop_missind.R:101:1', 'test_ppl.R:61:1' • ranger cannot be loaded (1): 'test_typecheck.R:186:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_GraphLearner.R:562:3'): GraphLearner hashes ──────────────────── Error in `assert_ro_binding(rhs)`: Field/Binding is read-only Backtrace: ▆ 1. ├─mlr3::lrn("classif.rpart", fallback = lrn("classif.rpart")) at test_GraphLearner.R:562:3 2. │ └─mlr3misc::dictionary_sugar_get(dict = mlr_learners, .key, ...) 3. └─mlr3 (local) `<fn>`(base::quote(`<LrnrClsR>`)) 4. └─mlr3:::.__Learner__fallback(...) 5. └─mlr3misc::assert_ro_binding(rhs) ── Error ('test_pipeop_colroles.R:34:3'): PipeOpColRoles - functionality works ── Error: Assertion on 'Petal.Length' failed: Must be of type 'character' or 'factor', not numeric This happened PipeOp colroles's $train() Backtrace: ▆ 1. ├─global train_pipeop(op, inputs = list(task)) at test_pipeop_colroles.R:34:3 2. │ └─po$train(inputs) 3. │ └─mlr3pipelines:::.__PipeOp__train(...) 4. │ ├─base::withCallingHandlers(...) 5. │ └─private$.train(input) 6. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 7. │ └─private$.train_task(intask) 8. │ └─mlr3pipelines:::.__PipeOpTaskPreprocSimple__.train_task(...) 9. │ └─private$.transform(task) 10. │ └─mlr3pipelines:::.__PipeOpColRoles__.transform(...) 11. ├─mlr3 (local) `<fn>`(base::quote(`<named list>`)) 12. │ └─mlr3:::.__Task__col_roles(...) 13. │ ├─mlr3::task_check_col_roles(self, rhs) 14. │ ├─mlr3:::task_check_col_roles.TaskClassif(self, rhs) 15. │ ├─base::NextMethod() 16. │ ├─mlr3:::task_check_col_roles.TaskSupervised(self, rhs) 17. │ ├─base::NextMethod() 18. │ └─mlr3:::task_check_col_roles.Task(self, rhs) 19. │ └─mlr3misc::stopf(...) 20. │ └─base::stop(...) 21. └─mlr3pipelines (local) `<fn>`(`<smplErrr>`) ── Error ('test_pipeop_renamecolumns.R:29:3'): renaming works ────────────────── Error: Assertion on 'Petal.Width' failed: Must be of type 'character' or 'factor', not numeric Backtrace: ▆ 1. └─mlr3 (local) `<fn>`(base::quote(`<named list>`)) at test_pipeop_renamecolumns.R:29:3 2. └─mlr3:::.__Task__col_roles(...) 3. ├─mlr3::task_check_col_roles(self, rhs) 4. ├─mlr3:::task_check_col_roles.TaskClassif(self, rhs) 5. ├─base::NextMethod() 6. ├─mlr3:::task_check_col_roles.TaskSupervised(self, rhs) 7. ├─base::NextMethod() 8. └─mlr3:::task_check_col_roles.Task(self, rhs) 9. └─mlr3misc::stopf(...) [ FAIL 3 | WARN 3 | SKIP 79 | PASS 11785 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64