mlrCPO
Composable Preprocessing Operators and Pipelines for Machine Learning
Description
Toolset that enriches 'mlr' with a diverse set of preprocessing operators. Composable Preprocessing Operators ("CPO"s) are first-class R objects that can be applied to data.frames and 'mlr' "Task"s to modify data, can be attached to 'mlr' "Learner"s to add preprocessing to machine learning algorithms, and can be composed to form preprocessing pipelines.
Downloads
412
Last 30 days
10484th
957
Last 90 days
5.9K
Last year
Trend: +55.5% (30d vs prior 30d)
0
Last 30 days
31
Last 90 days
124
Last year
Trend: -100% (30d vs prior 30d)
4
Last 7 days
11
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 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-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| 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 History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE Jun 8, 2026
DESCRIPTION meta-information
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 6, 2026
tests
Running 'run-core.R' [1s]
Running 'run-cpo.R' [46s]
Running 'run-meta.R' [8s]
Running 'run-zzzlint.R' [1s]
Running the tests in 'tests/run-meta.R' failed.
Complete output:
> library(testthat)
> test_check("mlrCPO", filter = "^meta_")
Load
...[truncated]...
└─base::lapply(...)
15. └─testthat (local) FUN(X[[i]], ...)
16. └─private$handle_error(msg, i)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
40,600
Files
237
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
127
Internal functions
231
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.83
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
93%
\dontrun example ratio
0%
Roxygen coverage
90.6%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
55.6%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.0.2
System requirements
–
C++ standard
–
License
BSD_2_clause + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
17
First release
2018-04-05
Latest release
2025-06-16
Avg cadence
96 days
Cold removal rate
100%
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.