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)
Dependency Network
Version History
new
0.11.0
Mar 10, 2026