mlr3pipelines
0.12.0Preprocessing Operators and Pipelines for 'mlr3'
Overview
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.
- Fix: Removed an R-devel deprecation warning from
PipeOpFilterand kept thepreproc()examples compatible with the declared minimum R version. - Fix:
GraphLearnerhad the guards of its internal validation and internal tuning extractors swapped, so aGraphsupporting only one of the two properties reported nothing for the property it did support. - feat:
GraphLearnerandPipeOpLearnergained a$best_valid_scoresfield, andGraphLearnercollects it from the wrappedPipeOps via$.extract_best_valid_scores(), somsr("best_valid_score")can be used with aGraphLearner. - Added a temporary compatibility alias that registers the former
pimatask asdiabetesfor releasedmlr3versions older than 1.8.0. Retrieving the alias warns users to update tomlr31.8.0 or newer. This alias will be removed in a later update ofmlr3pipelines. - Fix: Re-running registration (e.g. when
mlr3is reloaded) no longer removesPipeOpproperties added tomlr_reflections$pipeops$propertiesby extension packages. - Switched from using
digest::digest()to usingmlr3misc::calculate_hash()for calculating thehashandphashofPipeOps,Graphs, andGraphLearners. - Fix: Corrected registration of
FilterEnsembleinmlr_filtersusing.prototype_args. - Fix:
PipeOpTargetMutateandPipeOpTargetTrafoScaleRangenow correctly transform internal validation tasks during training. - feat:
PipeOpSmote,PipeOpSmoteNC,PipeOpADAS, andPipeOpBLSmotecan now handle columns with role"name"by assigning the namesynthetic.<pipeop id>to generated rows. - New
PipeOpMaterializethat materializes the activeTaskview, reducing size and simplifying structure of theTask'sDataBackend. - Fix:
mlr_pipeops$add()now saves the namespace environment from which it was called to allow delayed evaluation inas.data.table(mlr_pipeops).
Show all changes in 0.12.0Hide the rest of the changes in 0.12.0
PipeOpNMFnow 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 useselector_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(), andselector_non_missing(). The numeric selectors supportna_ignoreto control whether missing values are ignored when checking if all values satisfy the selector's condition. mlr_graphsno longer overrides the inherited$add()method.- Simplified error messages from internal function
check_types(). - Removed deprecated
greplicate()function. Useppl("greplicate")instead. - Fix:
PipeOpIsomapnow explicitly requiresigraph,RSpectra, andRANN; skip checks in tests were also updated. - Fix:
as_learner.Graphnow handles...as an argument. - feat:
as_learner.Graphnow suppots thediscard_stateargument, same asas_learner.Learner. - feat:
PipeOpTargetInvertnow propagates theextraslot of input prediction objects to the output prediction object, if the inverterfundoes not handle it already. - feat:
PipeOpDateFeaturesgains new featuresis_month_start,is_month_end,is_quarter_start,is_quarter_end,is_year_start,is_year_end, andis_leap_year. - Fix:
PipeOpDateFeaturesno longer creates all-NAcyclic time-of-day features forDatefeatures.
From NEWS.md in the release
Install
Health
- 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
Documentation
- 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
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
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.
The R CMD check workflow runs on Linux, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-09-28 · The repository has a site deploy workflow
pkgdown site last built 2026-09-05
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-11-04Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: CLAUDE.mdPull request it wrote: opened by a project memberCommits: at least 20 crediting it in the message
- 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
Dependencies
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.
Show all 25 packagesHide all 25 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.12.0Latest2026-09-05 · current release · diff ↗ ·
removed 1 export
greplicateadded 7 exports
PipeOpMaterialize, selector_negative, selector_non_missing, selector_non_negative, selector_non_positive, selector_non_zero, selector_positive - RR 4.6.0 released · 2026-04-24
- 0.11.0
- 0.10.0
- 0.9.02025-11-28 · diff ↗
- 0.8.0
- RR 4.5.0 released · 2025-04-11
- 0.7.22025-03-07 · diff ↗ ·
added 4 exports
PipeOpDecode, PipeOpEncodePL, PipeOpEncodePLQuantiles, PipeOpEncodePLTree - 0.7.12024-11-14 · diff ↗ ·
added 4 exports
PipeOpLearnerPICVPlus, PipeOpLearnerQuantiles, PipeOpNearmiss, PipeOpTomek - 0.7.02024-09-24 · diff ↗ ·
added 13 exports
%among%, CnfAtom, CnfClause, CnfFormula, CnfSymbol, CnfUniverse, PipeOpADAS, PipeOpBLSmote, PipeOpRowApply, PipeOpSmoteNC, as.CnfAtom, as.CnfClause, as.CnfFormula - 0.6.02024-07-01 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.2
- 0.5.12024-03-26 · diff ↗
- 0.5.0-22023-12-08 · diff ↗
- 0.5.0-12023-05-22 · diff ↗
Show 24 earlier eventsHide 24 earlier events
- 0.5.02023-05-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.4.32023-03-23 · diff ↗
- 0.4.22022-09-21 · diff ↗
- 0.4.12022-05-15 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.4.0
- 0.3.6-12021-10-06 · diff ↗
- 0.3.62021-09-07 · diff ↗
- 0.3.5-1
- 0.3.52021-07-06 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.42021-03-05 · diff ↗
- 0.3.32021-02-09 · diff ↗
- 0.3.22020-12-18 · diff ↗
- 0.3.12020-11-16 · diff ↗
- 0.3.02020-09-13 · diff ↗ ·
added 5 exports
PipeOpColRoles, PipeOpNMF, PipeOpRandomProjection, PipeOpTuneThreshold, PipeOpVtreat - 0.2.12020-08-18 · diff ↗ ·
removed 2 exports
PipeOpImputeNewlvl, branchadded 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 - RR 4.0.0 released · 2020-04-24
- 0.1.32020-04-06 · diff ↗
- 0.1.22019-12-10 · diff ↗
- 0.1.1
- 0.1.02019-10-06
- RR 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.
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.