* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/mlr3pipelines.Rcheck’ * using R Under development (unstable) (2024-04-05 r86344) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘mlr3pipelines/DESCRIPTION’ ... OK * this is package ‘mlr3pipelines’ version ‘0.5.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘quanteda’ * 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 ‘mlr3pipelines’ can be installed ... [48s/53s] OK * checking package directory ... OK * checking ‘build’ 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 ... 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 ... [116s/117s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘mlr3pipelines-Ex.R’ failed The error most likely occurred in: > ### Name: mlr_graphs_ovr > ### Title: Create A Graph to Perform "One vs. Rest" classification. > ### Aliases: mlr_graphs_ovr pipeline_ovr > > ### ** Examples > > library("mlr3") > > task = tsk("wine") > > learner = lrn("classif.rpart") Warning: Package 'rpart' required but not installed for Learner 'classif.rpart' > learner$predict_type = "prob" > > # Simple OVR > g1 = pipeline_ovr(learner) > g1$train(task) Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called ‘rpart’ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [289s/151s] [289s/151s] ERROR 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 52 | WARN 95 | SKIP 88 | PASS 10924 ] ══ Skipped tests (88) ══════════════════════════════════════════════════════════ • NMF cannot be loaded (3): 'test_pipeop_nmf.R:4:3', 'test_pipeop_nmf.R:13:3', 'test_pipeop_nmf.R:25:3' • On CRAN (70): 'test_GraphLearner.R:4:3', 'test_GraphLearner.R:177:3', 'test_GraphLearner.R:245:3', 'test_GraphLearner.R:309:3', 'test_Graph.R:275:3', 'test_dictionary.R:5:3', 'test_learner_weightedaverage.R:4:3', 'test_learner_weightedaverage.R:56:3', 'test_learner_weightedaverage.R:103:3', 'test_learner_weightedaverage.R:149:3', 'test_meta.R:39:3', 'test_mlr_graphs_bagging.R:5:3', 'test_mlr_graphs_branching.R:25:3', 'test_mlr_graphs_robustify.R:4:3', 'test_pipeop_boxcox.R:8: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_colroles.R:10:3', 'test_pipeop_copy.R:5:3', 'test_pipeop_colapply.R:9:3', 'test_pipeop_encode.R:21:3', 'test_pipeop_encodeimpact.R:11:3', 'test_pipeop_encodelmer.R:13:3', 'test_pipeop_encodelmer.R:34:3', 'test_pipeop_encodelmer.R:75:3', 'test_pipeop_datefeatures.R:13:3', 'test_pipeop_ensemble.R:6:3', 'test_pipeop_filter.R:6:3', 'test_pipeop_fixfactors.R:9:3', 'test_pipeop_histbin.R:9:3', 'test_pipeop_featureunion.R:9:3', 'test_pipeop_featureunion.R:132:3', 'test_pipeop_ica.R:6:3', 'test_pipeop_impute.R:4:3', 'test_pipeop_imputelearner.R:40: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_pca.R:8:3', 'test_pipeop_ovr.R:9:3', 'test_pipeop_ovr.R:48: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_proxy.R:14: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_subsample.R:10:3', 'test_pipeop_targetinvert.R:4:3', 'test_pipeop_targetmutate.R:4:3', 'test_pipeop_targettrafo.R:4:3', 'test_pipeop_targettrafoscalerange.R:4:3', 'test_pipeop_task_preproc.R:4:3', 'test_pipeop_task_preproc.R:14:3', 'test_pipeop_unbranch.R:10:3', 'test_pipeop_spatialsign.R:7:3', 'test_pipeop_yeojohnson.R:7:3', 'test_pipeop_updatetarget.R:88:3' • empty test (1): 'test_pipeop_missind.R:101:1' • kernlab cannot be loaded (2): 'test_pipeop_kernelpca.R:5:3', 'test_pipeop_kernelpca.R:22:3' • mlr3learners cannot be loaded (1): 'test_typecheck.R:185:3' • quanteda cannot be loaded (6): 'test_mlr_graphs_robustify.R:157:3', 'test_pipeop_textvectorizer.R:4:3', 'test_pipeop_textvectorizer.R:47:3', 'test_pipeop_textvectorizer.R:118:3', 'test_pipeop_textvectorizer.R:155:3', 'test_pipeop_textvectorizer.R:226:3' • vtreat cannot be loaded (5): 'test_pipeop_vtreat.R:4:3', 'test_pipeop_vtreat.R:19:3', 'test_pipeop_vtreat.R:68:3', 'test_pipeop_vtreat.R:118:3', 'test_pipeop_vtreat.R:168:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_GraphLearner.R:79:3'): GraphLearner clone_graph FALSE ────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr1$train(tsk("iris")) at test_GraphLearner.R:79:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_GraphLearner.R:415:3'): GraphLearner model ───────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─graph2$train(tsk("iris")) at test_GraphLearner.R:415:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_GraphLearner.R:443:3'): predict() function for Graph ─────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─lx$train(tsk("iris")) at test_GraphLearner.R:443:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_GraphLearner.R:476:3'): base_learner() works ─────────────────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─x$train(tsk("iris")) at test_GraphLearner.R:476:3 2. └─mlr3:::.__Learner__train(...) 3. └─mlr3:::learner_train(...) 4. └─mlr3misc::require_namespaces(learner$packages) ── Error ('test_Graph.R:82:3'): complex graph ────────────────────────────────── Error: The following packages could not be loaded: igraph Backtrace: ▆ 1. └─biggraph$plot() at test_Graph.R:82:3 2. └─mlr3pipelines:::.__Graph__plot(...) 3. └─mlr3misc::require_namespaces("igraph") ── Error ('test_Graph.R:153:3'): input / output lists and naming ─────────────── Error: The following packages could not be loaded: igraph Backtrace: ▆ 1. └─gr$plot() at test_Graph.R:153:3 2. └─mlr3pipelines:::.__Graph__plot(...) 3. └─mlr3misc::require_namespaces("igraph") ── Error ('test_Graph.R:384:3'): single pipeop plot ──────────────────────────── Error: The following packages could not be loaded: igraph Backtrace: ▆ 1. └─graph$plot() at test_Graph.R:384:3 2. └─mlr3pipelines:::.__Graph__plot(...) 3. └─mlr3misc::require_namespaces("igraph") ── Error ('test_conversion.R:93:3'): po for Filter ───────────────────────────── Error in `loadNamespace(x)`: there is no package called 'mlr3filters' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_conversion.R:93:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_conversion.R:137:3'): Graph to GraphLearner ──────────────────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3::resample(task, glrn1, cv) at test_conversion.R:137:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) ── Error ('test_conversion.R:158:3'): PipeOp to GraphLearner ─────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' This happened PipeOp proxy's $train() Backtrace: ▆ 1. └─mlr3::resample(task, glrn1, cv) at test_conversion.R:158:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) ── Error ('test_mlr_graphs_bagging.R:47:3'): Bagging with replacement ────────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3::resample(tsk, GraphLearner$new(p), rsmp("holdout")) at test_mlr_graphs_bagging.R:47:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) ── Error ('test_mlr_graphs_branching.R:13:3'): Branching Pipeline ────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr$train(tsk("iris")) at test_mlr_graphs_branching.R:13:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_mlr_graphs_ovr.R:13:3'): OVR Pipeline ────────────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─g$train(task) at test_mlr_graphs_ovr.R:13:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_mlr_graphs_stacking.R:15:3'): Stacking Pipeline ──────────────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─graph_learner$train(tsk("iris")) at test_mlr_graphs_stacking.R:15:3 2. └─mlr3:::.__Learner__train(...) 3. └─mlr3:::learner_train(...) 4. └─mlr3misc::require_namespaces(learner$packages) ── Error ('test_mlr_graphs_targettrafo.R:24:3'): Target Trafo Pipeline ───────── Error: Error during train: Error loading package rpart (required by regr.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─tt$train(task) at test_mlr_graphs_targettrafo.R:24:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_mlr_graphs_targettrafo.R:56:2'): More Complex Target Trafo Pipelines ── Error: Error during train: Error loading package rpart (required by regr.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─tt$train(task) at test_mlr_graphs_targettrafo.R:56:2 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_boxcox.R:20:3'): PipeOpBoxCox - receive expected result ── Error: The following packages could not be loaded: bestNormalize Backtrace: ▆ 1. └─mlr3pipelines:::train_pipeop(op, inputs = list(task)) at test_pipeop_boxcox.R:20:3 2. └─po$train(inputs) at tests/testthat/helper_functions.R:437:3 3. └─mlr3pipelines:::.__PipeOp__train(...) 4. └─mlr3misc::require_namespaces(self$packages) ── Error ('test_multichannels.R:12:3'): adding multiple edges to output channels works ── Error: The following packages could not be loaded: igraph Backtrace: ▆ 1. └─graph$plot() at test_multichannels.R:12:3 2. └─mlr3pipelines:::.__Graph__plot(...) 3. └─mlr3misc::require_namespaces("igraph") ── Error ('test_multichannels.R:100:3'): adding multiple edges to vararg input channel works ── Error: The following packages could not be loaded: igraph Backtrace: ▆ 1. └─graph$plot() at test_multichannels.R:100:3 2. └─mlr3pipelines:::.__Graph__plot(...) 3. └─mlr3misc::require_namespaces("igraph") ── Error ('test_pipeop_encodelmer.R:101:3'): Confirms to sensible values ─────── Error: The following packages could not be loaded: lme4,nloptr Backtrace: ▆ 1. └─mlr3pipelines:::train_pipeop(op, inputs = list(task)) at test_pipeop_encodelmer.R:101:3 2. └─po$train(inputs) at tests/testthat/helper_functions.R:437:3 3. └─mlr3pipelines:::.__PipeOp__train(...) 4. └─mlr3misc::require_namespaces(self$packages) ── Error ('test_pipeop_filter.R:50:3'): PipeOpFilter parameters ──────────────── Error in `loadNamespace(x)`: there is no package called 'mlr3filters' Backtrace: ▆ 1. ├─PipeOpFilter$new(mlr3filters::FilterVariance$new()) at test_pipeop_filter.R:50:3 2. │ └─mlr3pipelines (local) initialize(...) 3. │ └─mlr3pipelines:::.__PipeOpFilter__initialize(...) 4. │ └─checkmate::assert_class(filter, "Filter") 5. │ └─checkmate::checkClass(x, classes, ordered, null.ok) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_pipeop_filter.R:71:3'): PipeFilter permuted ──────────────────── Error in `loadNamespace(x)`: there is no package called 'mlr3filters' Backtrace: ▆ 1. ├─mlr3pipelines::po(...) at test_pipeop_filter.R:71:3 2. ├─mlr3pipelines:::po.character(...) 3. │ └─mlr3pipelines:::dictionary_sugar_inc_get(...) 4. │ └─mlr3misc::dictionary_sugar_get(dict = dict, .key = newkey, ...) 5. │ └─checkmate::assert_list(list(...), .var.name = "additional arguments passed to Dictionary") 6. │ └─checkmate::checkList(...) 7. │ └─... %and% checkListTypes(x, types) 8. │ └─base::isTRUE(lhs) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_pipeop_ica.R:24:3'): PipeOpICA - compare to fastICA ──────────── Error: The following packages could not be loaded: fastICA Backtrace: ▆ 1. └─op$train(list(task)) at test_pipeop_ica.R:24:3 2. └─mlr3pipelines:::.__PipeOp__train(...) 3. └─mlr3misc::require_namespaces(self$packages) ── Error ('test_pipeop_imputelearner.R:7:3'): PipeOpImputeLearner - simple tests ── Error: The following packages could not be loaded: rpart This happened PipeOp imputelearner's $train() Backtrace: ▆ 1. ├─po$train(list(task)) at test_pipeop_imputelearner.R:7:3 2. │ └─mlr3pipelines:::.__PipeOp__train(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─private$.train(input) 5. │ └─mlr3pipelines:::.__PipeOpImpute__.train(...) 6. │ └─mlr3misc::imap(...) 7. │ ├─stats::setNames(mapply_list(.f, list(.x, .nn), list(...)), names(.x)) 8. │ └─mlr3misc:::mapply_list(.f, list(.x, .nn), list(...)) 9. │ └─base::.mapply(.f, .dots, .args) 10. │ └─mlr3pipelines (local) ``(dots[[1L]][[1L]], dots[[2L]][[1L]]) 11. │ └─private$.train_imputer(col, type, context) 12. │ └─mlr3pipelines:::.__PipeOpImputeLearner__.train_imputer(...) 13. │ └─private$.learner$train(task, row_ids = which(!is.na(feature))) 14. │ └─mlr3:::.__Learner__train(...) 15. │ └─mlr3:::learner_train(...) 16. │ └─mlr3misc::require_namespaces(learner$packages) 17. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 18. └─mlr3pipelines (local) ``(``) ── Error ('test_pipeop_learnercv.R:55:3'): PipeOpLearnerCV - within resampling ── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3::resample(tsk("iris"), gr, rsmp("holdout")) at test_pipeop_learnercv.R:55:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) ── Error ('test_pipeop_learnercv.R:69:3'): PipeOpLearnerCV - insample resampling ── Error: The following packages could not be loaded: rpart This happened PipeOp classif.rpart's $train() Backtrace: ▆ 1. ├─mlr3pipelines:::expect_equal(...) at test_pipeop_learnercv.R:69:3 2. │ ├─testthat::expect_true(...) at tests/testthat/helper_compat.R:4:3 3. │ │ └─testthat::quasi_label(enquo(object), label, arg = "object") 4. │ │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. │ └─base::all.equal(...) 6. ├─polrn$train(list(iris_with_unambiguous_mode)) 7. │ └─mlr3pipelines:::.__PipeOp__train(...) 8. │ ├─base::withCallingHandlers(...) 9. │ └─private$.train(input) 10. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 11. │ └─private$.train_task(intask) 12. │ └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...) 13. │ └─private$.learner$train(task) 14. │ └─mlr3:::.__Learner__train(...) 15. │ └─mlr3:::learner_train(...) 16. │ └─mlr3misc::require_namespaces(learner$packages) 17. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 18. └─mlr3pipelines (local) ``(``) ── Error ('test_pipeop_learnercv.R:112:3'): predict_type ─────────────────────── Error: The following packages could not be loaded: rpart This happened PipeOp classif.rpart's $train() Backtrace: ▆ 1. ├─mlr3pipelines:::expect_equal(...) at test_pipeop_learnercv.R:112:3 2. │ ├─testthat::expect_true(...) at tests/testthat/helper_compat.R:4:3 3. │ │ └─testthat::quasi_label(enquo(object), label, arg = "object") 4. │ │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. │ └─base::all.equal(...) 6. ├─lcv$train(list(tsk("iris"))) 7. │ └─mlr3pipelines:::.__PipeOp__train(...) 8. │ ├─base::withCallingHandlers(...) 9. │ └─private$.train(input) 10. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 11. │ └─private$.train_task(intask) 12. │ └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...) 13. │ └─private$.learner$train(task) 14. │ └─mlr3:::.__Learner__train(...) 15. │ └─mlr3:::learner_train(...) 16. │ └─mlr3misc::require_namespaces(learner$packages) 17. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 18. └─mlr3pipelines (local) ``(``) ── Error ('test_pipeop_ovr.R:66:5'): PipeOpOVRUnite- train and predict ───────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3misc::map(...) at test_pipeop_ovr.R:65:3 2. └─base::lapply(.x, .f, ...) 3. └─mlr3pipelines (local) FUN(X[[i]], ...) 4. └─lrn$train(task) at test_pipeop_ovr.R:66:5 5. └─mlr3:::.__Learner__train(...) 6. └─mlr3:::learner_train(...) 7. └─mlr3misc::require_namespaces(learner$packages) ── Error ('test_pipeop_ovr.R:110:5'): PipeOpOVRSplit and PipeOpOVRUnite - train and predict ── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3misc::map(...) at test_pipeop_ovr.R:109:3 2. └─base::lapply(.x, .f, ...) 3. └─mlr3pipelines (local) FUN(X[[i]], ...) 4. └─lrn$train(task) at test_pipeop_ovr.R:110:5 5. └─mlr3:::.__Learner__train(...) 6. └─mlr3:::learner_train(...) 7. └─mlr3misc::require_namespaces(learner$packages) ── Error ('test_pipeop_ovr.R:131:3'): PipeOpOVRSplit and PipeOpOVRUnite - task size ── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr$train(tsk("iris")$filter(c(1:30, 51:80, 101:130))) at test_pipeop_ovr.R:131:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_randomresponse.R:20:3'): train and predict ────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─g1$train(task1) at test_pipeop_randomresponse.R:20:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_proxy.R:104:3'): PipeOpProxy - Complicated Graphs ─────── Error: The following packages could not be loaded: fastICA Backtrace: ▆ 1. └─po("ica")$train(list(tsk1)) at test_pipeop_proxy.R:104:3 2. └─mlr3pipelines:::.__PipeOp__train(...) 3. └─mlr3misc::require_namespaces(self$packages) ── Error ('test_pipeop_proxy.R:152:3'): Cloning as expected ──────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr$train(tsk("iris")$filter(1:100)) at test_pipeop_proxy.R:152:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_smote.R:5:3'): PipeOpSmote - basic properties ─────────── Error in `loadNamespace(x)`: there is no package called 'smotefamily' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_pipeop_smote.R:5:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_pipeop_smote.R:22:3'): compare to smotefamily::SMOT ──────────── Error in `loadNamespace(x)`: there is no package called 'smotefamily' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_pipeop_smote.R:22:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_pipeop_targetmutate.R:55:2'): PipeOpTargetMutate - log base 2 trafo ── Error: Error during train: Error loading package rpart (required by regr.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─g$train(task) at test_pipeop_targetmutate.R:55:2 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_targettrafoscalerange.R:64:3'): PipeOpTargetTrafoScaleRange - row use subsets ── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─learner$train(tasksubset) at test_pipeop_targettrafoscalerange.R:64:3 2. └─mlr3:::.__Learner__train(...) 3. └─mlr3:::learner_train(...) 4. └─mlr3misc::require_namespaces(learner$packages) ── Error ('test_pipeop_threshold.R:26:3'): thresholding works for binary ─────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr$train(t) at test_pipeop_threshold.R:26:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_threshold.R:75:3'): thresholding works for multiclass ─── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─gr$train(t) at test_pipeop_threshold.R:75:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_tunethreshold.R:6:3'): threshold works for multiclass ─── Error: The following packages could not be loaded: rpart This happened PipeOp classif.rpart's $train() Backtrace: ▆ 1. ├─po_cv$train(list(t)) at test_pipeop_tunethreshold.R:6:3 2. │ └─mlr3pipelines:::.__PipeOp__train(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─private$.train(input) 5. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 6. │ └─private$.train_task(intask) 7. │ └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...) 8. │ └─private$.learner$train(task) 9. │ └─mlr3:::.__Learner__train(...) 10. │ └─mlr3:::learner_train(...) 11. │ └─mlr3misc::require_namespaces(learner$packages) 12. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 13. └─mlr3pipelines (local) ``(``) ── Error ('test_pipeop_tunethreshold.R:22:3'): threshold works for binary ────── Error: The following packages could not be loaded: rpart This happened PipeOp classif.rpart's $train() Backtrace: ▆ 1. ├─po_cv$train(list(t)) at test_pipeop_tunethreshold.R:22:3 2. │ └─mlr3pipelines:::.__PipeOp__train(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─private$.train(input) 5. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 6. │ └─private$.train_task(intask) 7. │ └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...) 8. │ └─private$.learner$train(task) 9. │ └─mlr3:::.__Learner__train(...) 10. │ └─mlr3:::learner_train(...) 11. │ └─mlr3misc::require_namespaces(learner$packages) 12. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 13. └─mlr3pipelines (local) ``(``) ── Error ('test_pipeop_tunethreshold.R:42:3'): tunethreshold graph works ─────── Error: Error during train: Error loading package bbotk (required by tunethreshold): there is no package called 'bbotk' Backtrace: ▆ 1. └─graph$train(tsk("pima")) at test_pipeop_tunethreshold.R:42:3 2. └─mlr3pipelines:::.__Graph__train(...) 3. └─mlr3pipelines:::graph_load_namespaces(self, "train") 4. └─mlr3misc::stopf(...) ── Error ('test_pipeop_yeojohnson.R:17:3'): PipeOpYeoJohnson - receive expected result ── Error: The following packages could not be loaded: bestNormalize Backtrace: ▆ 1. └─mlr3pipelines:::train_pipeop(op, inputs = list(task)) at test_pipeop_yeojohnson.R:17:3 2. └─po$train(inputs) at tests/testthat/helper_functions.R:437:3 3. └─mlr3pipelines:::.__PipeOp__train(...) 4. └─mlr3misc::require_namespaces(self$packages) ── Error ('test_resample.R:12:3'): PipeOp - Resample ─────────────────────────── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3::resample(task, pp, resa) at test_resample.R:12:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) ── Error ('test_usecases.R:23:3'): linear: scale + pca + learn ───────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 3L, n_edges = 2L) at test_usecases.R:23:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:49:3'): featureunion ──────────────────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 4L, n_edges = 3L) at test_usecases.R:49:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:66:3'): bagging ───────────────────────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart_1, classif.rpart_2): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 5L, n_edges = 4L) at test_usecases.R:66:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:83:3'): branching ─────────────────────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 4L, n_edges = 4L) at test_usecases.R:83:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:104:3'): branching with varargs ───────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 4L, n_edges = 4L) at test_usecases.R:104:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:127:3'): task chunking ────────────────────────────── Error: Error during train: Error loading package rpart (required by classif.rpart_1, classif.rpart_2): there is no package called 'rpart' Backtrace: ▆ 1. └─mlr3pipelines (local) test_graph(g, n_nodes = 4L, n_edges = 4L) at test_usecases.R:127:3 2. └─g$train(task) at test_usecases.R:8:3 3. └─mlr3pipelines:::.__Graph__train(...) 4. └─mlr3pipelines:::graph_load_namespaces(self, "train") 5. └─mlr3misc::stopf(...) ── Error ('test_usecases.R:142:3'): stacking ─────────────────────────────────── Error: The following packages could not be loaded: rpart This happened PipeOp classif.rpart's $train() Backtrace: ▆ 1. ├─pipe$train(task) at test_usecases.R:142:3 2. │ └─mlr3pipelines:::.__Graph__train(...) 3. │ └─mlr3pipelines:::graph_reduce(self, input, "train", single_input) 4. │ └─op[[fun]](input) 5. │ └─mlr3pipelines:::.__PipeOp__train(...) 6. │ ├─base::withCallingHandlers(...) 7. │ └─private$.train(input) 8. │ └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...) 9. │ └─private$.train_task(intask) 10. │ └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...) 11. │ └─private$.learner$train(task) 12. │ └─mlr3:::.__Learner__train(...) 13. │ └─mlr3:::learner_train(...) 14. │ └─mlr3misc::require_namespaces(learner$packages) 15. │ └─base::stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError")) 16. └─mlr3pipelines (local) ``(``) ── Error ('test_ppl.R:72:3'): mlr3book authors don't sleepwalk through life ──── Error: The following packages could not be loaded: rpart Backtrace: ▆ 1. └─mlr3::benchmark(benchmark_grid(tasks, learners, rsmp("cv", folds = 2))) at test_ppl.R:72:3 2. └─mlr3:::future_map(...) 3. └─future.apply::future_mapply(...) 4. └─future.apply:::future_xapply(...) 5. ├─future::value(fs) 6. └─future:::value.list(fs) 7. ├─future::resolve(...) 8. └─future:::resolve.list(...) 9. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 10. └─future:::signalConditions(...) [ FAIL 52 | WARN 95 | SKIP 88 | PASS 10924 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [34s/34s] OK * checking HTML version of manual ... [23s/23s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE See ‘/data/gannet/ripley/R/packages/tests-Suggests/mlr3pipelines.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 7:50.10, 566.95 + 30.27