Skip to content

mlr3pipelines

0.12.0

Preprocessing Operators and Pipelines for 'mlr3'

10packages dependsuggested by 15
224.2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 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).
Show all changes in 0.12.0Hide the rest of the changes in 0.12.0
  • 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.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 13.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-18
  • ERROR12 OK, 1 ERROR2026-09-15
  • OK13 OK2026-09-13
  • ERROR8 OK, 2 NOTE, 3 ERROR2026-07-25
  • NOTE11 OK, 2 NOTE2026-07-16
Show 10 earlier changesHide 10 earlier changes
  • OK13 OK2026-06-29
  • ERROR12 OK, 1 ERROR2026-06-25
  • OK13 OK2026-06-11
  • ERROR12 OK, 1 ERROR2026-06-09
  • OK13 OK2026-06-04
  • ERROR12 OK, 1 ERROR2026-06-01
  • OK13 OK2026-04-30
  • ERROR12 OK, 1 ERROR2026-04-28
  • OK12 OK2026-04-25
  • ERROR11 OK, 3 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.12.0
READMEYes · 490 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.12.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
132 (6 internal)includes a package overview page
Examples that run
96%104 run in a plain check (41 of them under a condition) · 3 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
83%
Documented parameters
100%
Return-value docs
26%
Help pages citing references
10%

Downloads

224.2K
CRAN downloads in the past year
Rank #1,008 · ~614/day · ~18.7K/mo
Daily download trend is not available in this view yet.
8.4K30 days
38.9K90 days
224.2K1 year
Compare downloads with other packages →
Also on29.9K r2u7 autocran5.9K conda_forge135 c2d4u

Repository

149Stars
26Forks
93Open issues
15Open PRs
12Releases
4,299Commits
30Commit identities
mlr3machine-learningpipelinespreprocessingbaggingstackingensemble-learningr
License file reads as LGPL-3.0 · 4,299 commits · Last activity 2026-10-13 · 0% stars, 30d · Default branch at 0.12.0-9000, ahead of CRAN 0.12.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
278
Median days to close, 50 most recently updated closed PRs
14

Stars over time

2025-10-05 · 1452026-08-05 · 149
PracticesBeta

15 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/mlr-org/mlr3pipelines on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, and on R-devel

Governance and community (3)
Contributing guide (inherited from mlr-org)

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-28 · The repository has a site deploy workflow

pkgdown site last built 2026-09-05

Automation and maintenance (2)
Dependabotpre-commit
Show all practicesHide 2 practices
Lint, format, editor (3)
lintrEditorConfigRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-11-04
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 20 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Models named in its commits
  • Claude Fable 510 commits · Jul 2026
  • Claude Opus 55 commits · Aug 2026
  • Claude Opus 4.83 commits · Jul 2026
  • Claude Fable 5.12 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
41 external dependencies (excludes base and recommended)

Installing mlr3pipelines adds 24 packages (11 with compiled code, 16 MB of source tarballs). Heaviest: data.table 5.7 MB, palmerpenguins 2.9 MB, mlbench 967 KB.

Depends (1)
R >= 3.3.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
10direct
1indirect
Depends 2 · Imports 8
Suggested by 15
Show all 25 packagesHide all 25 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (11)
Author, Maintainer since 0.1.0 (2019)
Author · added in 0.5.0
Author · added in 0.2.1
Contributor · added in 0.7.1
Contributor · added in 0.7.0
Contributor · added in 0.7.0
Contributor · added in 0.10.0
Releases (32)

Pick two releases to compare their code metrics.

  • 0.12.0Latest
    record
    2026-09-05 · current release · diff ↗ ·
    removed 1 export
    greplicate
    added 7 exports
    PipeOpMaterialize, selector_negative, selector_non_missing, selector_non_negative, selector_non_positive, selector_non_zero, selector_positive
  • R
    R 4.6.0 released · 2026-04-24
  • 0.11.0
    record
    2026-03-01 · diff ↗ ·
    added 2 exports
    PipeOpClassWeightsEx, PipeOpSplines
  • 0.10.0
    record
    2025-11-28 · diff ↗ ·
    added 3 exports
    FilterEnsemble, PipeOpInfo, PipeOpIsomap
  • 0.9.0
    record
    2025-11-28 · diff ↗
  • 0.8.0
    record
    2025-06-17 · diff ↗ ·
    added 1 export
    preproc
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.2
    record
    2025-03-07 · diff ↗ ·
    added 4 exports
    PipeOpDecode, PipeOpEncodePL, PipeOpEncodePLQuantiles, PipeOpEncodePLTree
  • 0.7.1
    record
    2024-11-14 · diff ↗ ·
    added 4 exports
    PipeOpLearnerPICVPlus, PipeOpLearnerQuantiles, PipeOpNearmiss, PipeOpTomek
  • 0.7.0
    record
    2024-09-24 · diff ↗ ·
    added 13 exports
    %among%, CnfAtom, CnfClause, CnfFormula, CnfSymbol, CnfUniverse, PipeOpADAS, PipeOpBLSmote, PipeOpRowApply, PipeOpSmoteNC, as.CnfAtom, as.CnfClause, as.CnfFormula
  • 0.6.0
    record
    2024-07-01 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.2
    record
    2024-04-23 · diff ↗ ·
    added 1 export
    pipeline_convert_types
  • 0.5.1
    record
    2024-03-26 · diff ↗
  • 0.5.0-2
    record
    2023-12-08 · diff ↗
  • 0.5.0-1
    record
    2023-05-22 · diff ↗
Show 24 earlier eventsHide 24 earlier events
  • 0.5.0
    record
    2023-05-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3
    record
    2023-03-23 · diff ↗
  • 0.4.2
    record
    2022-09-21 · diff ↗
  • 0.4.1
    record
    2022-05-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2021-11-15 · diff ↗ ·
    added 5 exports
    %>>!%, chain_graphs, concat_graphs, pos, ppls
  • 0.3.6-1
    record
    2021-10-06 · diff ↗
  • 0.3.6
    record
    2021-09-07 · diff ↗
  • 0.3.5-1
    record
    2021-08-05 · diff ↗ ·
    added 1 export
    pipeline_stacking
  • 0.3.5
    record
    2021-07-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.4
    record
    2021-03-05 · diff ↗
  • 0.3.3
    record
    2021-02-09 · diff ↗
  • 0.3.2
    record
    2020-12-18 · diff ↗
  • 0.3.1
    record
    2020-11-16 · diff ↗
  • 0.3.0
    record
    2020-09-13 · diff ↗ ·
    added 5 exports
    PipeOpColRoles, PipeOpNMF, PipeOpRandomProjection, PipeOpTuneThreshold, PipeOpVtreat
  • 0.2.1
    record
    2020-08-18 · diff ↗ ·
    removed 2 exports
    PipeOpImputeNewlvl, branch
    added 32 exports
    Multiplicity, PipeOpDateFeatures, PipeOpImputeConstant, PipeOpImputeLearner, PipeOpImputeMode, PipeOpImputeOOR, PipeOpMultiplicityExply, PipeOpMultiplicityImply, PipeOpOVRSplit, PipeOpOVRUnite, PipeOpProxy, PipeOpRandomResponse, PipeOpRenameColumns, PipeOpReplicate, PipeOpTargetInvert, PipeOpTargetMutate, PipeOpTargetTrafo, PipeOpTargetTrafoScaleRange, PipeOpTextVectorizer, PipeOpThreshold, as.Multiplicity, is.Multiplicity, mlr_graphs, pipeline_bagging, pipeline_branch, pipeline_greplicate, pipeline_ovr, pipeline_robustify, pipeline_targettrafo, ppl and 2 more
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.3
    record
    2020-04-06 · diff ↗
  • 0.1.2
    record
    2019-12-10 · diff ↗
  • 0.1.1
    record
    2019-10-29 · diff ↗ ·
    added 2 exports
    PipeOpClassWeights, PipeOpEncodeImpact
  • 0.1.0
    record
    2019-10-06
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-06
Total releases
32 / 7 yrs
License
LGPL-3 OSI
Minimum R
≥ 3.3.0
Download size
843 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("mlr3pipelines")

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

Cite the 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-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy