R Observatory
Search
install.packages("mlr3pipelines")
CRAN checks, method
1 of 13platforms with problems
CRAN 30-day downloads, method
6,980−52.8% down on the 30 days before, the worse direction

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.

Maintainer
Martin Binder
Licence
LGPL-3
Latest release
5 Sep 2026
First release
6 Oct 2019

Compare with another package

More details
Releases
32
Needs compilation
No
Needs R
>= 3.3.0
Config/roxygen2/version
8.1.0
Config/testthat/edition
3
Config/testthat/parallel
true
Collections (1) Method, Collections
  • mlr3verse, installed by the mlr3verse package
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("mlr3pipelines")

The package provides a citation file, so citation() returns the authors' own entry.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for mlr3pipelines version 0.12.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

1 of 13 check platforms have warnings or errors.

  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    Error

    Version checked
    0.12.0
    Time taken
    664 s

    tests: Error

    Running 'testthat.R' [143s]

    Full output

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.12.0
    Time taken
    768 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.12.0
    Time taken
    529 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.12.0
    Time taken
    515 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.12.0
    Time taken
    488 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    596 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.12.0
    Time taken
    123 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    611 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    742 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    745 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.12.0
    Time taken
    126 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    621 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.12.0
    Time taken
    605 s
  • 1 Error
  • 12 OK
Check output (1)

tests, Error on 1 platform

Running 'testthat.R' [143s]
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]...
073741819
  Backtrace:
       ▆
    1. └─testthat::test_check("mlr3pipelines")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   1
[cut here]

Over time

No change since 26 Oct 2026

As a list (16)
ChangedWorst statusOKNotesWarningsErrors
26 Oct 2026Error12001
18 Sep 2026OK13000
15 Sep 2026Error12001
13 Sep 2026OK13000
25 Jul 2026Error8203
16 Jul 2026Note11200
29 Jun 2026OK13000
25 Jun 2026Error12001
11 Jun 2026OK13000
9 Jun 2026Error12001
4 Jun 2026OK13000
1 Jun 2026Error12001
30 Apr 2026OK13000
28 Apr 2026Error12001
25 Apr 2026OK12000
10 Mar 2026Error11003

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
9,440−53.4% down on the 30 days before, the worse directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

1,337 of 26,530

CRAN

6,980 downloads in the last 30 days

Rank
1,337 of 26,530
Change
−52.8% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1,521 downloads in the last 30 days

Rank
692 of 30,526
Change
−70% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
10,893 of 29,212
Change
−72.2% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

916 downloads in the last 30 days

Rank
1,072 of 3,828
Change
+154% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

18 downloads in the last 30 days

Rank
976 of 7,575
Change
−28% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
10
Dependent packages
10
Suggested by
15
Needs (10)
Installing it adds
24 packages, 16.1 MB of source
Of those, need compilation
11
Optional extras (35)
Dependent packages (10)
PackageTitleDownloads in 30 days
mlr3verseEasily Install and Load the 'mlr3' Package Family3,448
mlr3torchDeep Learning with 'mlr3'2,996
mlr3fdaExtending 'mlr3' to Functional Data Analysis1,925
mlr3fairnessFairness Auditing and Debiasing for 'mlr3'1,838
mlr3forecastExtending 'mlr3' to Time Series Forecasting1,823
mlimSingle and Multiple Imputation with Automated Machine Learning445
mcboostMulti-Calibration Boosting318
mlr3shinyMachine Learning in 'shiny' with 'mlr3'317
mlr3automlAutomated Machine Learning for 'mlr3'294
spFSRFeature Selection and Ranking via Simultaneous Perturbation Stochastic Approximation232
Functions
210
Public exports
153
Lines of R code
20,573
Median complexity
2
Functions (210)
Size and composition

Lines by kind (60,520)

KindLinesShare
R code20,57334%
Tests18,78931%
Documentation20,65234%
Guides5060.8%

Lines by language

LanguageLinesShare
R39,25665%
Rd20,65234%
Vignettes5060.8%
Markdown1060.2%

Languages are counted from file extensions.

Files
378
R functions
210
Object systems
S3: 86 methods, R6: 103 classes
Complexity
Median
2
Mean
3.72
Highest
167
Median lines per function
7
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
210
Calls
122
Unconnected
102
Groups
10
Growth (32 releases)
Total lines by release
20,312 on 6 Oct 201960,520 on 5 Sep 2026
Release changes

The run took too long and was stopped.

Test cases
572
Lines of tests
18,789
Exports named in tests
96.1%
Test suite
Has tests
Yes
Test frameworks
testthat, tinytest
Test cases
572
Snapshot tests
6
Test lines per line of code
0.91
Exports documented
98%
Arguments documented
100%
Return value documented
25.8%
Help pages with examples
81.8%
Examples run in checks
96.3%
Guides (1)
Other documentation
README
Yes, 490 words
Release notes file
Yes
Help pages
132
Lines of documentation
20,652

mlr-org / mlr3pipelines on github.com

Stars
149no change on 30 days ago
Forks
26
Open issues
93
Last commit
26 Oct 2026
Activity
Commits
4,384
Open pull requests
14
Tagged releases
12
Latest tagged release
v0.12.0, 5 Sep 2026
In development
Default branch at 0.12.0-9000, ahead of CRAN 0.12.0 (checked 2026-10-25)
Issues closed in
363 days (median)
Pull requests closed in
8 days (median)
Pull requests merged
89%
Created
10 Oct 2017
Licence file reads as
LGPL-3.0
Development practices (15)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, and on R-devel
Governance and communityContributing guide (inherited from mlr-org)
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-10-19
The repository has a site deploy workflow
pkgdown site last built 2026-09-05
Automation and maintenanceDependabot, pre-commit
Lint, format, editorlintr, EditorConfig, RStudio project
Git structural.gitattributes

Method, repository practices

Across mlr-org

Claude Codeat least 33 crediting itClaude CodeFirst seen 4 Nov 2025at least 33 crediting it
Claude Opus 5.5Claude Opus 5.55 Oct 2026 to 13 Oct 202613 commits
Claude Fable 5.1Claude Fable 5.121 Sep 2026 to 26 Sep 20262 commits
Claude Opus 51MClaude Opus 51M context window5 Aug 2026 to 6 Aug 20265 commits
Claude Opus 4.8Claude Opus 4.824 Jul 20263 commits
Claude Fable 5Claude Fable 513 Jul 202610 commits

Tools

ToolFirst seenFoundCommits crediting it
Claude Code4 Nov 2025Seen in the repositoryCLAUDE.mdNamed in .RbuildignoreCLAUDE.mdPull request it wrote: opened by a project member33 at least
  • Seen in the repository
  • Named in .Rbuildignore
  • Pull request

Shared conventions

AGENTS.md

Models

ModelContext windowCommitsFirst commitLast commitCredit lines of
Claude Opus 5.5135 Oct 202613 Oct 2026Claude Code
Claude Fable 5.1221 Sep 202626 Sep 2026Claude Code
Claude Opus 51M55 Aug 20266 Aug 2026Claude Code
Claude Opus 4.8324 Jul 202624 Jul 2026Claude Code
Claude Fable 51013 Jul 202613 Jul 2026Claude Code

Across mlr-org

R releases
  • On CRAN
  • Facing archival
  • Release
VersionReleasedREvents
0.12.0 current5 Sep 20264.6.1Fix due 27 Sep 2026
The checks were fixed and the deadline was lifted.
0.11.01 Mar 20264.5.2
0.9.028 Nov 20254.5.2
0.10.028 Nov 20254.5.2
0.8.017 Jun 20254.5.1
0.7.27 Mar 20254.4.3
0.7.114 Nov 20244.4.2
0.7.024 Sep 20244.4.1
Earlier versions (24)
VersionReleasedR
0.6.01 Jul 20244.4.1
0.5.223 Apr 20244.3.3
0.5.126 Mar 20244.3.3
0.5.0-28 Dec 20234.3.2
0.5.0-122 May 20234.3.0
0.5.022 May 20234.3.0
0.4.323 Mar 20234.2.3
0.4.221 Sep 20224.2.1
0.4.115 May 20224.2.0
0.4.015 Nov 20214.1.2
0.3.6-16 Oct 20214.1.1
0.3.67 Sep 20214.1.1
0.3.5-15 Aug 20214.1.0
0.3.56 Jul 20214.1.0
0.3.45 Mar 20214.0.4
0.3.39 Feb 20214.0.3
0.3.218 Dec 20204.0.3
0.3.116 Nov 20204.0.3
0.3.013 Sep 20204.0.2
0.2.118 Aug 20204.0.2
0.1.36 Apr 20203.6.3
0.1.210 Dec 20193.6.1
0.1.129 Oct 20193.6.1
0.1.06 Oct 20193.6.1
Release notes (0.12.0)
  • Fix: Removed an R-devel deprecation warning from PipeOpFilter and kept the preproc() examples compatible with the declared minimum R version.
  • Fix: GraphLearner had the guards of its internal validation and internal tuning extractors swapped, so a Graph supporting only one of the two properties reported nothing for the property it did support.
  • feat: GraphLearner and PipeOpLearner gained a $best_valid_scores field, and GraphLearner collects it from the wrapped PipeOps via $.extract_best_valid_scores(), so msr("best_valid_score") can be used with a GraphLearner.
  • Added a temporary compatibility alias that registers the former pima task as diabetes for released mlr3 versions older than 1.8.0. Retrieving the alias warns users to update to mlr3 1.8.0 or newer. This alias will be removed in a later update of mlr3pipelines.
  • Fix: Re-running registration (e.g. when mlr3 is reloaded) no longer removes PipeOp properties added to mlr_reflections$pipeops$properties by extension packages.
  • Switched from using digest::digest() to using mlr3misc::calculate_hash() for calculating the hash and phash of PipeOps, Graphs, and GraphLearners.
  • Fix: Corrected registration of FilterEnsemble in mlr_filters using .prototype_args.
  • Fix: PipeOpTargetMutate and PipeOpTargetTrafoScaleRange now correctly transform internal validation tasks during training.
  • feat: PipeOpSmote, PipeOpSmoteNC, PipeOpADAS, and PipeOpBLSmote can now handle columns with role "name" by assigning the name synthetic.<pipeop id> to generated rows.
  • New PipeOpMaterialize that materializes the active Task view, reducing size and simplifying structure of the Task's DataBackend.
  • Fix: mlr_pipeops$add() now saves the namespace environment from which it was called to allow delayed evaluation in as.data.table(mlr_pipeops).
  • PipeOpNMF now correctly rejects features containing missing or infinite values with an informative error message. Features containing negative values are still dropped implictly, but now this produces a warning to use selector_non_negative() for explicit column selection. This will become an error in the future.
  • New selectors selector_positive(), selector_negative(), selector_non_negative(), selector_non_positive(), selector_non_zero(), and selector_non_missing(). The numeric selectors support na_ignore to control whether missing values are ignored when checking if all values satisfy the selector's condition.
  • mlr_graphs no longer overrides the inherited $add() method.
  • Simplified error messages from internal function check_types().
  • Removed deprecated greplicate() function. Use ppl("greplicate") instead.
  • Fix: PipeOpIsomap now explicitly requires igraph, RSpectra, and RANN; skip checks in tests were also updated.
  • Fix: as_learner.Graph now handles ... as an argument.
  • feat: as_learner.Graph now suppots the discard_state argument, same as as_learner.Learner.
  • feat: PipeOpTargetInvert now propagates the extra slot of input prediction objects to the output prediction object, if the inverter fun does not handle it already.
  • feat: PipeOpDateFeatures gains new features is_month_start, is_month_end, is_quarter_start, is_quarter_end, is_year_start, is_year_end, and is_leap_year.
  • Fix: PipeOpDateFeatures no longer creates all-NA cyclic time-of-day features for Date features.