Skip to content

mlr3pipelines

Preprocessing Operators and Pipelines for 'mlr3'

v0.11.0 · Feb 28, 2026 · LGPL-3

Description

Dataflow programming toolkit that enriches 'mlr3' with a diverse set of pipelining operators ('PipeOps') that can be composed into graphs. Operations exist for data preprocessing, model fitting, and ensemble learning. Graphs can themselves be treated as 'mlr3' 'Learners' and can therefore be resampled, benchmarked, and tuned.

Downloads

23.7K

Last 30 days

760th

69.1K

Last 90 days

152.7K

Last year

Trend: +0.7% (30d vs prior 30d)

CRAN Check Status

3 ERROR
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
r-oldrel-macos-x86_64 ERROR
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
ERROR r-oldrel-macos-arm64

examples

Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (mlr3misc::require_namespaces(c("NMF", "MASS"), quietly = TRUE)) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ ## Don't show: 
+ # NMF attaches these packages to search path on load, #929
+ lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), detach, character.only = TRUE)
+ ## End(Don't show)
+ library("mlr3")
+ 
+ task = tsk("iris")
+ pop = po("nmf")
+ 
+ task$data()
+ pop$train(list(task))[[1]]$data()
+ 
+ pop$state
+ ## Don't show: 
+ # BiocGenerics overwrites printer for our tables mlr-org/mlr3#1112
+ # Necessary as detaching packages does not remove registered S3 methods
+ suppressWarnings(try(rm("format.list", envir = .BaseNamespaceEnv$.__S3MethodsTable__.), silent = TRUE))
+ ## End(Don't show)
+ ## Don't show: 
+ }) # examplesIf
> lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted
ERROR r-oldrel-macos-arm64

tests

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_autotr
...[truncated]...
is"))) 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
ERROR r-oldrel-macos-x86_64

examples

Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (mlr3misc::require_namespaces(c("NMF", "MASS"), quietly = TRUE)) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ ## Don't show: 
+ # NMF attaches these packages to search path on load, #929
+ lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), detach, character.only = TRUE)
+ ## End(Don't show)
+ library("mlr3")
+ 
+ task = tsk("iris")
+ pop = po("nmf")
+ 
+ task$data()
+ pop$train(list(task))[[1]]$data()
+ 
+ pop$state
+ ## Don't show: 
+ # BiocGenerics overwrites printer for our tables mlr-org/mlr3#1112
+ # Necessary as detaching packages does not remove registered S3 methods
+ suppressWarnings(try(rm("format.list", envir = .BaseNamespaceEnv$.__S3MethodsTable__.), silent = TRUE))
+ ## End(Don't show)
+ ## Don't show: 
+ }) # examplesIf
> lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted
ERROR r-oldrel-macos-x86_64

tests

Running ‘testthat.R’ [257s/212s]
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_auto
...[truncated]...
is"))) 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
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'mlr3pipelines-Ex.R' failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (mlr3misc::require_namespaces(c("NMF", "MASS"), quietly = TRUE)) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ ## Don't show: 
+ # NMF attaches these packages to search path on load, #929
+ lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), detach, character.only = TRUE)
+ ## End(Don't show)
+ library("mlr3")
+ 
+ task = tsk("iris")
+ pop = po("nmf")
+ 
+ task$data()
+ pop$train(list(task))[[1]]$data()
+ 
+ pop$state
+ ## Don't show: 
+ # BiocGenerics overwrites printer for our tables mlr-org/mlr3#1112
+ # Necessary as detaching packages does not remove registered S3 methods
+ suppressWarnings(try(rm("format.list", envir = .BaseNamespaceEnv$.__S3MethodsTable__.), silent = TRUE))
+ ## End(Don't show)
+ ## Don't show: 
+ }) # examplesIf
> lapply(c("package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [244s]
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
...[truncated]...
is"))) 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

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-oldrel-macos-arm64

examples

Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (ml
...[truncated]...
"package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted
ERROR r-oldrel-macos-x86_64

examples

Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (ml
...[truncated]...
"package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'mlr3pipelines-Ex.R' failed
The error most likely occurred in:

> ### Name: mlr_pipeops_nmf
> ### Title: Non-negative Matrix Factorization
> ### Aliases: mlr_pipeops_nmf PipeOpNMF
> 
> ### ** Examples
> 
> ## Don't show: 
> if (ml
...[truncated]...
"package:Biobase", "package:BiocGenerics", "package:generics"), 
+     detach, character.only = TRUE)
Error in FUN(X[[i]], ...) : invalid 'name' argument
Calls: withAutoprint ... withVisible -> eval -> eval -> lapply -> lapply -> FUN
Execution halted

Reverse Dependencies (22)

depends

Dependency Network

Dependencies Reverse dependencies backports checkmate cli data.table digest lgr mlr3 (>= 0.20.0) mlr3misc paradox R6 mlr3fda mlr3torch VIM mcboost mlr3fairness mlr3shiny mlr3verse sense spFSR DoubleML counterfactuals mlr3filters mlr3fselect mlr3hyperband mlr3mbo +7 more reverse deps mlr3pipelines

Version History

new 0.11.0 Mar 10, 2026
updated 0.11.0 ← 0.9.0 diff Feb 28, 2026
updated 0.10.0 ← 0.8.0 diff Nov 27, 2025
updated 0.9.0 ← 0.10.0 diff Nov 27, 2025
updated 0.8.0 ← 0.7.2 diff Jun 16, 2025
updated 0.7.2 ← 0.7.1 diff Mar 6, 2025
updated 0.7.1 ← 0.7.0 diff Nov 13, 2024
updated 0.7.0 ← 0.6.0 diff Sep 23, 2024
updated 0.6.0 ← 0.5.2 diff Jun 30, 2024
updated 0.5.2 ← 0.5.1 diff Apr 22, 2024
updated 0.5.1 ← 0.5.0-2 diff Mar 25, 2024
updated 0.5.0-2 ← 0.5.0-1 diff Dec 7, 2023
updated 0.5.0 ← 0.4.3 diff May 21, 2023
updated 0.5.0-1 ← 0.5.0 diff May 21, 2023
updated 0.4.3 ← 0.4.2 diff Mar 22, 2023
updated 0.4.2 ← 0.4.1 diff Sep 20, 2022
updated 0.4.1 ← 0.4.0 diff May 14, 2022
updated 0.4.0 ← 0.3.6-1 diff Nov 14, 2021
updated 0.3.6-1 ← 0.3.6 diff Oct 5, 2021
updated 0.3.6 ← 0.3.5-1 diff Sep 6, 2021