Running ‘testthat.R’ [89s/44s]
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.
  > test_Graph.R: Training debug.multi with input list(input_1 = 1, input_2 = 1)
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_PipeOp.R: Training test_autotrain
  > test_PipeOp.R: Predicting test_autotrain
  > test_multiplicities.R: 
  > test_multiplicities.R: 
  > test_multiplicities.R: [[1]]
  > test_multiplicities.R: [1] 0
  > test_multiplicities.R: 
  > test_pipeop_blsmote.R: [1] "Borderline-SMOTE done"
  > test_pipeop_blsmote.R: [1] "Borderline-SMOTE done"
  > test_pipeop_blsmote.R: [1] "Borderline-SMOTE done"
  > test_pipeop_blsmote.R: [1] "Borderline-SMOTE done"
  Saving _problems/test_pipeop_datefeatures-7.R
  Saving _problems/test_pipeop_datefeatures-17.R
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.09588: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.096162: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.099333: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.105652: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.119122: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.119247: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.12148: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.127413: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.134271: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.134461: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.138671: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.153821: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.154241: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.1603: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.16043: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.205664: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.221005: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.221634: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.25193: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.252065: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.256575: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.28942: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.29906: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.299325: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.308416: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.387882: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.388987: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.438249: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.438424: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.440783: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.446858: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.454242: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.454408: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.45907: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.474312: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.474742: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.50922: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.50937: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.51178: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.518032: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.531607: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.531786: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.536325: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.551371: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.551802: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.585959: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.586088: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.588426: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.594964: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.606881: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.607064: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.611546: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.626581: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.626977: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.644021: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.64415: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.64641: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.652284: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.662965: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.663131: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.667359: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.6827: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.683095: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.718083: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.718227: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.720447: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.726967: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.739812: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.740008: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.744765: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.760695: embedding
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.761099: DONE
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.782313: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.782437: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.784801: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.790929: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.810089: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.810211: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.812591: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.818843: Classical Scaling
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.824609: Isomap START
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.824743: constructing knn graph
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.832289: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-03-13 10:33:50.838525: Classical Scaling
  Saving _problems/test_pipeop_nmf-45.R
  Saving _problems/test_pipeop_nmf-73.R
  Saving _problems/test_pipeop_nmf-93.R
  Saving _problems/test_pipeop_nmf-98.R
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  > test_pipeop_task_preproc.R: Training debug_affectcols
  [ FAIL 6 | WARN 0 | SKIP 128 | PASS 8754 ]
  
  ══ Skipped tests (128) ═════════════════════════════════════════════════════════
  • On CRAN (125): 'test_CnfFormula_simplify.R:6:3', 'test_CnfFormula.R:591:3',
    'test_Graph.R:283:3', 'test_PipeOp.R:32:1', 'test_GraphLearner.R:5:3',
    'test_GraphLearner.R:221:3', 'test_GraphLearner.R:343:3',
    'test_GraphLearner.R:408:3', 'test_GraphLearner.R:571:3',
    'test_doublearrow.R:2:1', 'test_gunion.R:2:1',
    '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_dictionary.R:7: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_classbalancing.R:7:3', 'test_pipeop_boxcox.R:7:3',
    'test_pipeop_classweights.R:10:3', 'test_pipeop_classweightsex.R:9:3',
    'test_pipeop_colapply.R:9:3', 'test_pipeop_collapsefactors.R:6:3',
    'test_pipeop_copy.R:5:3', 'test_pipeop_colroles.R:6:3',
    'test_pipeop_decode.R:14:3', 'test_pipeop_encode.R:21:3',
    'test_pipeop_encodeimpact.R:11:3', 'test_pipeop_encodepl.R:5:3',
    'test_pipeop_encodepl.R:72:3', 'test_pipeop_ensemble.R:3:1',
    'test_pipeop_encodelmer.R:15:3', 'test_pipeop_encodelmer.R:37:3',
    'test_pipeop_encodelmer.R:80:3', 'test_pipeop_filter.R:7:3',
    'test_pipeop_fixfactors.R:9:3', 'test_pipeop_histbin.R:7:3',
    'test_pipeop_featureunion.R:9:3', 'test_pipeop_featureunion.R:134:3',
    'test_pipeop_ica.R:7:3', 'test_pipeop_impute.R:4:3',
    'test_pipeop_info.R:3:1', 'test_pipeop_imputelearner.R:43:3',
    'test_pipeop_kernelpca.R:9:3', 'test_pipeop_isomap.R:10:3',
    'test_pipeop_learner.R:17:3', 'test_pipeop_learnerpicvplus.R:2:1',
    'test_pipeop_missind.R:6:3', 'test_pipeop_modelmatrix.R:7:3',
    'test_pipeop_multiplicityexply.R:9:3', 'test_pipeop_multiplicityimply.R:9:3',
    'test_pipeop_mutate.R:9:3', 'test_pipeop_nearmiss.R:7:3',
    'test_pipeop_learnercv.R:3:3', 'test_pipeop_learnercv.R:43:3',
    'test_pipeop_learnercv.R:73:3', 'test_pipeop_learnercv.R:92:3',
    'test_pipeop_learnercv.R:141:3', 'test_pipeop_learnercv.R:157:3',
    'test_pipeop_learnercv.R:203:3', 'test_pipeop_learnercv.R:249:3',
    'test_pipeop_learnercv.R:278:3', 'test_pipeop_learnercv.R:332:3',
    'test_pipeop_learnercv.R:359:3', 'test_pipeop_learnercv.R:389:3',
    'test_pipeop_learnercv.R:399:3', 'test_pipeop_learnercv.R:432:3',
    'test_pipeop_learnercv.R:472:3', 'test_pipeop_learnercv.R:481:3',
    'test_pipeop_learnercv.R:498:3', 'test_pipeop_learnercv.R:506:3',
    'test_pipeop_learnercv.R:530:3', 'test_pipeop_learnercv.R:554:3',
    'test_pipeop_learnercv.R:634:3', 'test_pipeop_learnercv.R:654:3',
    'test_pipeop_learnercv.R:669:3', 'test_pipeop_learnercv.R:754:3',
    'test_pipeop_learnercv.R:799:3', 'test_pipeop_learnercv.R:827:3',
    'test_pipeop_ovr.R:9:3', 'test_pipeop_ovr.R:48:3', 'test_pipeop_pca.R:8:3',
    'test_pipeop_proxy.R:2:1', 'test_pipeop_quantilebin.R:5:3',
    'test_pipeop_randomprojection.R:6:3', 'test_pipeop_randomresponse.R:5:3',
    'test_pipeop_removeconstants.R:6:3', 'test_pipeop_renamecolumns.R:6:3',
    'test_pipeop_replicate.R:9:3', 'test_pipeop_rowapply.R:6:3',
    'test_pipeop_scale.R:6:3', 'test_pipeop_scale.R:10:3',
    'test_pipeop_scalemaxabs.R:6:3', 'test_pipeop_scalerange.R:7:3',
    'test_pipeop_select.R:9:3', 'test_pipeop_smote.R:10:3',
    'test_pipeop_smotenc.R:8:3', 'test_pipeop_spatialsign.R:3:1',
    'test_pipeop_splines.R:3:1', 'test_pipeop_nmf.R:6:3',
    'test_pipeop_targetinvert.R:4:3', 'test_pipeop_targetmutate.R:5:3',
    'test_pipeop_targettrafo.R:4:3', 'test_pipeop_subsample.R:6:3',
    'test_pipeop_targettrafoscalerange.R:5:3', 'test_pipeop_task_preproc.R:4:3',
    'test_pipeop_task_preproc.R:14:3', 'test_pipeop_tomek.R:7:3',
    'test_pipeop_textvectorizer.R:37:3', 'test_pipeop_textvectorizer.R:186:3',
    'test_pipeop_unbranch.R:10:3', 'test_pipeop_updatetarget.R:89:3',
    'test_pipeop_vtreat.R:9:3', 'test_pipeop_yeojohnson.R:7:3',
    'test_ppl.R:63:3', 'test_pipeop_tunethreshold.R:111:3',
    'test_pipeop_tunethreshold.R:191:3', 'test_typecheck.R:188:3'
  • Skipping (1): 'test_GraphLearner.R:1278:3'
  • empty test (2): 'test_pipeop_isomap.R:111:1', 'test_pipeop_missind.R:101:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pipeop_datefeatures.R:7:3'): PipeOpDateFeatures - basic properties ──
  Error in `seq.Date(as.Date("2020-01-31"), length.out = 150L)`: exactly two of 'to', 'by' and 'length.out' / 'along.with' must be specified
  Backtrace:
      ▆
   1. ├─base::seq(as.Date("2020-01-31"), length.out = 150L) at test_pipeop_datefeatures.R:7:3
   2. └─base::seq.Date(as.Date("2020-01-31"), length.out = 150L)
  ── Error ('test_pipeop_datefeatures.R:17:3'): PipeOpDateFeatures - finds POSIXct column ──
  Error in `seq.Date(as.Date("2020-01-31"), length.out = 150L)`: exactly two of 'to', 'by' and 'length.out' / 'along.with' must be specified
  Backtrace:
      ▆
   1. ├─base::seq(as.Date("2020-01-31"), length.out = 150L) at test_pipeop_datefeatures.R:17:3
   2. └─base::seq.Date(as.Date("2020-01-31"), length.out = 150L)
  ── Error ('test_pipeop_nmf.R:45:3'): PipeOpNMF - does not modify search path when NMF is not loaded, fix for #929 ──
  Error in `detach(package:generics)`: invalid 'name' argument
  Backtrace:
      ▆
   1. └─base::detach(package:generics) at test_pipeop_nmf.R:45:3
  ── Failure ('test_pipeop_nmf.R:73:3'): PipeOpNMF - does not modify search path when NMF is loaded, fix for #929 ──
  Expected `all(...)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test_pipeop_nmf.R:93:3'): PipeOpNMF - does not modify search path when some of NMF's dependencies are loaded, fix for #929 ──
  Expected `all(paste0("package:", c("BiocGenerics", "generics")) %in% search())` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Error ('test_pipeop_nmf.R:98:3'): PipeOpNMF - does not modify search path when some of NMF's dependencies are loaded, fix for #929 ──
  Error in `FUN(X[[i]], ...)`: invalid 'name' argument
  This happened in PipeOp nmf's $train()
  Backtrace:
       ▆
    1. ├─op$train(list(tsk("iris"))) at test_pipeop_nmf.R:98:3
    2. │ └─mlr3pipelines:::.__PipeOp__train(...)
    3. │   ├─base::withCallingHandlers(...)
    4. │   └─private$.train(input)
    5. │     └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...)
    6. │       └─private$.train_task(intask)
    7. │         └─mlr3pipelines:::.__PipeOpTaskPreproc__.train_task(...)
    8. │           ├─data.table::as.data.table(...)
    9. │           └─private$.train_dt(dt, task$levels(cols), task$truth())
   10. │             └─mlr3pipelines:::.__PipeOpNMF__.train_dt(...)
   11. │               └─mlr3misc::map(to_be_detached, detach, character.only = TRUE)
   12. │                 └─base::lapply(.x, .f, ...)
   13. │                   └─base (local) FUN(X[[i]], ...)
   14. │                     └─base::stop("invalid 'name' argument")
   15. └─base::.handleSimpleError(...)
   16.   └─mlr3pipelines (local) h(simpleError(msg, call))
  
  [ FAIL 6 | WARN 0 | SKIP 128 | PASS 8754 ]
  Error:
  ! Test failures.
  Execution halted