Running ‘testthat.R’ [322s/454s]
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_filter_ensemble.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_mlr_graphs_robustify.R: 'as(<dgCMatrix>, "dgTMatrix")' is deprecated.
  > test_mlr_graphs_robustify.R: Use 'as(., "TsparseMatrix")' instead.
  > test_mlr_graphs_robustify.R: See help("Deprecated") and help("Matrix-deprecated").
  > test_multiplicities.R: 
  > test_multiplicities.R: [[1]]
  > test_multiplicities.R: [1] 0
  > test_multiplicities.R: 
  > 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-01-24 23:32:51.955899: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:51.956428: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:51.964954: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.020848: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.132691: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.132992: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.158572: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.200718: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.281082: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.281546: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.313491: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.4253: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.426424: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.483546: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.483861: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.510632: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.625125: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.626253: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.800823: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.801139: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:52.89496: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.137104: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.209258: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.210675: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.289867: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.824167: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:53.85575: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.144488: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.144815: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.151949: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.201305: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.264549: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.282963: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.302491: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.424491: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.425606: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.729857: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.730147: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.755647: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.813251: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.903949: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.904375: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:54.95104: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.042142: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.072462: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.236531: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.236828: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.262801: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.29648: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.401867: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.402295: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.435396: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.537454: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.539442: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.699357: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.699659: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.706523: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.755453: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.825226: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.855785: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.876508: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.998369: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:55.99963: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.160402: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.160692: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.178553: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.220217: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.331177: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.331624: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.358003: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.47557: embedding
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.476927: DONE
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.666029: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.666352: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.673238: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.747657: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.940177: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.940468: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.960592: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:56.99432: Classical Scaling
  > test_pipeop_isomap.R: 2026-01-24 23:32:57.049989: Isomap START
  > test_pipeop_isomap.R: 2026-01-24 23:32:57.050273: constructing knn graph
  > test_pipeop_isomap.R: 2026-01-24 23:32:57.071231: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-01-24 23:32:57.105828: 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
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  > test_pipeop_tunethreshold.R: OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  [ FAIL 6 | WARN 0 | SKIP 99 | PASS 13006 ]
  
  ══ Skipped tests (99) ══════════════════════════════════════════════════════════
  • On CRAN (95): '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_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_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_collapsefactors.R:6:3', 'test_pipeop_colapply.R:9: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_encodelmer.R:15:3',
    'test_pipeop_encodelmer.R:37:3', 'test_pipeop_encodelmer.R:80: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:7:3', 'test_pipeop_ica.R:7:3',
    'test_pipeop_ensemble.R:6:3', 'test_pipeop_impute.R:4:3',
    'test_pipeop_imputelearner.R:43:3', 'test_pipeop_isomap.R:10:3',
    'test_pipeop_kernelpca.R:9:3', 'test_pipeop_learner.R:17:3',
    'test_pipeop_info.R:6:3', 'test_pipeop_learnerpicvplus.R:163:3',
    '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:31: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:6:3', 'test_pipeop_randomresponse.R:5:3',
    'test_pipeop_removeconstants.R:6:3', 'test_pipeop_nmf.R:6:3',
    'test_pipeop_renamecolumns.R:6:3', 'test_pipeop_replicate.R:9: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_rowapply.R:6:3', 'test_pipeop_smotenc.R:8:3',
    'test_pipeop_subsample.R:6: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:6: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_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 (3): 'test_pipeop_isomap.R:111:1', 'test_pipeop_missind.R:101:1',
    'test_ppl.R:61: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 99 | PASS 13006 ]
  Error:
  ! Test failures.
  Execution halted