Running ‘testthat.R’ [329s/161s]
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.
  Saving _problems/test_filter_ensemble-294.R
  Saving _problems/test_filter_ensemble-307.R
  > 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-depr
  > test_mlr_graphs_robustify.R: ecated").
  > test_multiplicities.R: [[1]]
  > test_multiplicities.R: [1] 0
  > test_multiplicities.R: 
  > 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"
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.533266: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.53395: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.541258: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.556657: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.59499: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.595396: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.601334: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.614597: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.634501: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.635067: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.646059: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.67657: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.677508: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.70734: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.707878: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.721379: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.753814: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.755037: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.818612: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.819145: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.836735: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.908329: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.941113: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.941767: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:48.971401: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.133255: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.137512: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.259852: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.260292: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.270153: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.283517: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.326214: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.326827: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.338386: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.369198: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.370374: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.474332: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.474733: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.482859: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.496212: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.531686: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.532238: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.543606: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.57373: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.57469: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.631805: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.632194: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.637883: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.651012: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.688113: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.688723: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.69884: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.729381: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.730373: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.785217: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.785601: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.791135: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.804257: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.837018: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.837577: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.847757: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.877892: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.878878: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.937932: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.93832: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.945386: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.958386: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.995301: L-Isomap embed START
  > test_pipeop_isomap.R: 2026-02-13 17:29:49.995881: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.018578: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.048995: embedding
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.049986: DONE
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.115586: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.115968: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.124091: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.138283: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.198774: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.199192: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.205035: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.218878: Classical Scaling
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.23882: Isomap START
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.239236: constructing knn graph
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.245095: calculating geodesic distances
  > test_pipeop_isomap.R: 2026-02-13 17:29:50.260968: Classical Scaling
  > test_pipeop_nmf.R: [PipeOpNMFstate]
  > test_pipeop_nmf.R: [PipeOpNMFstate]
  > 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_textvectorizer.R: 'as(<dgCMatrix>, "dgTMatrix")' is deprecated.
  > test_pipeop_textvectorizer.R: Use 'as(., "TsparseMatrix")' instead.
  > test_pipeop_textvectorizer.R: See help("Deprecated") and help("Matrix-deprecated").
  > 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 2 | WARN 0 | SKIP 100 | PASS 13055 ]
  
  ══ Skipped tests (100) ═════════════════════════════════════════════════════════
  • On CRAN (96): 'test_CnfFormula.R:591:3', 'test_CnfFormula_simplify.R:6: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_classweights.R:10:3', 'test_pipeop_boxcox.R:7: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_datefeatures.R:10: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_learnercv.R:31:3', 'test_pipeop_nearmiss.R:7: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_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_nmf.R:6:3',
    'test_pipeop_spatialsign.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_subsample.R:6: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_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 ════════════════════════════════════════════════════════════════
  ── Failure ('test_filter_ensemble.R:294:3'): FilterEnsemble ignores NA scores from wrapped filters ──
  Expected `all(is.nan(permutation_filter$scores[task$feature_names]))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test_filter_ensemble.R:307:3'): FilterEnsemble ignores NA scores from wrapped filters ──
  Expected `all.equal(object, expected, check.environment = FALSE, ...)` to be TRUE.
  Differences:
  `actual` is a character vector ('Mean relative difference: 0.9062672')
  `expected` is a logical vector (TRUE)
  
  Backtrace:
      ▆
   1. └─global expect_equal(combined_scores, variance_scores * weights[["variance"]]) at test_filter_ensemble.R:307:3
   2.   └─testthat::expect_true(...)
  
  [ FAIL 2 | WARN 0 | SKIP 100 | PASS 13055 ]
  Error:
  ! Test failures.
  Execution halted