Skip to content

recipes

1.4.0Package record

Preprocessing and Feature Engineering Steps for Modeling

52packages dependsuggested by 54
1.9Mdownloads / year
94.9%test coverage
13/13flavors OK

Overview

About

A recipe prepares your data for modeling. We provide an extensible framework for pipeable sequences of feature engineering steps provides preprocessing tools to be applied to data. Statistical parameters for the steps can be estimated from an initial data set and then applied to other data sets. The resulting processed output can then be used as inputs for statistical or machine learning models.

Changes in 1.4.0

Improvements

  • bake() gained a stop_at argument, which takes a step number or step id and applies only the steps up to and including that step. This is useful for diagnostics such as visualizing the effect of each step. (#1551)
  • The following steps are now dramatically faster when baking data with many columns, as they no longer copy the whole data set once per column: check_new_values(), check_range(), step_bin2factor(), step_BoxCox(), step_bs(), step_center(), step_cut(), step_discretize(), step_dummy(), step_factor2string(), step_harmonic(), step_holiday(), step_hyperbolic(), step_impute_bag(), step_impute_knn(), step_impute_linear(), step_impute_lower(), step_impute_mean(), step_impute_median(), step_impute_mode(), step_impute_roll(), step_integer(), step_inverse(), step_invlogit(), step_lag(), step_log(), step_logit(), step_normalize(), step_novel(), step_ns(), step_num2factor(), step_ordinalscore(), step_other(), step_percentile(), step_range(), step_relevel(), step_scale(), step_shuffle(), step_sqrt(), step_string2factor(), step_unknown(), step_unorder(), step_window(), and step_YeoJohnson(). (#1543)
  • prep() is now faster on recipes with many columns or many steps. (#1543)
  • step_count() and step_regex() now accepts selectors that resolve to more than one column. When more than one column is selected, the new columns are named {column}_{result}. (#1384)

Bug Fixes

  • step_impute_bag(), step_impute_knn(), and step_impute_linear() no longer error with "C stack usage is too close to the limit" when the data contains a survival outcome column. (#1517, #1542)
  • step_num2factor() no longer errors when more than one column is selected. (#1543)

Developer

  • New recipes_map_cols() helper for use in bake() methods of steps that transform columns in place. It applies a function to the selected columns and assigns the results in bulk, avoiding the quadratic cost of assigning one column at a time. (#1543)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 12.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • ERROR11 OK, 1 WARNING, 1 ERROR2026-10-15
  • WARNING12 OK, 1 WARNING2026-10-01
  • OK13 OK2026-08-26
  • NOTE11 OK, 2 NOTE2026-07-16
Show 6 earlier changesHide 6 earlier changes
  • OK13 OK2026-06-19
  • WARNING12 OK, 1 WARNING2026-06-17
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-04-08
  • WARNING13 OK, 1 WARNING2026-03-10
Advisories

none known

Documentation

In release 1.4.0
README· In the repository, left out of the releaseVignettesYes · 6 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.4.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
155 (33 internal)includes a package overview page
Examples that run
99%116 run in a plain check (79 of them under a condition) · 1 never run
Exported functions with examples
78%
Documented parameters
90%
Return-value docs
86%
Help pages citing references
12%

Downloads

1.9M
CRAN downloads in the past year
Rank #297 · ~5.3K/day · ~162.4K/mo
Daily download trend is not available in this view yet.
127.5K30 days
379.6K90 days
1.9M1 year
Compare downloads with other packages →
Also on29.9K r2u138 autocran308.4K conda_forge17.3K c2d4u

Repository

625Stars
130Forks
45Open issues
5Open PRs
30Releases
2,970Commits
90Commit identities
2,970 commits · Last activity 2026-09-17 · +0.6% stars, 30d · Default branch at 1.4.0.9000, ahead of CRAN 1.4.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
222
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-14 · 6182026-10-13 · 625
PracticesBeta

17 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/tidymodels/recipes on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (3)
Code of conductContributing guideCODEOWNERS
Docs source (4)
README.Rmdpkgdown

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

pkgdown site last built 2026-08-24

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio 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 2026-03-31
    Seen in the repository: .claude, .claude/skills
    Named in .Rbuildignore: .claude
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
42 external dependencies (excludes base and recommended)

Installing recipes adds 53 packages (27 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (2)
R >= 4.1dplyr
LinkingTo (0)
none
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 0.1.0 (2017)
Author · added in 1.0.6
Copyright holder, Funder · added in 1.0.6
Listed in earlier versions (2)
RStudio
no longer listed · 0.1.0 to 1.0.3
Posit Software PBC
no longer listed · 1.0.4 to 1.0.5
Releases (39)

Pick two releases to compare their code metrics.

  • 1.4.0Latest
    record
    2026-08-24 · current release · diff ↗ ·
    added 1 export
    recipes_map_cols
  • 1.3.3
    record
    2026-05-30 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.3.2
    record
    2026-04-02 · diff ↗
  • 1.3.1
    record
    2025-05-21 · diff ↗
  • 1.3.0
    record
    2025-04-17 · diff ↗ ·
    added 2 exports
    check_options, recipes_argument_select
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.1
    record
    2025-03-25 · diff ↗
  • 1.2.0
    record
    2025-03-17 · diff ↗ ·
    added 1 export
    .recipes_preserve_sparsity
  • 1.1.1
    record
    2025-02-12 · diff ↗ ·
    added 2 exports
    .recipes_estimate_sparsity, .recipes_toggle_sparse_args
  • 1.1.0
    record
    2024-07-04 · diff ↗ ·
    added 5 exports
    extract_fit_time, recipes_names_outcomes, recipes_names_predictors, recipes_ptype, recipes_ptype_validate
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.10
    record
    2024-02-18 · diff ↗
  • 1.0.9
    record
    2023-12-13 · diff ↗
  • 1.0.8
    record
    2023-08-26 · diff ↗
  • 1.0.7
    record
    2023-08-11 · diff ↗ ·
    added 3 exports
    recipes_remove_cols, remove_original_cols, step_classdist_shrunken
Show 33 earlier eventsHide 33 earlier events
  • 1.0.6
    record
    2023-04-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.5
    record
    2023-02-20 · diff ↗
  • 1.0.4
    record
    2023-01-11 · diff ↗ ·
    added 1 export
    recipes_extension_check
  • 1.0.3
    record
    2022-11-09 · diff ↗ ·
    added 19 exports
    .get_data_types, all_date, all_date_predictors, all_datetime, all_datetime_predictors, all_double, all_double_predictors, all_factor, all_factor_predictors, all_integer, all_integer_predictors, all_logical, all_logical_predictors, all_ordered, all_ordered_predictors, all_string, all_string_predictors, all_unordered, all_unordered_predictors
  • 1.0.2
    record
    2022-10-16 · diff ↗ ·
    added 6 exports
    step_poly_bernstein, step_spline_b, step_spline_convex, step_spline_monotone, step_spline_natural, step_spline_nonnegative
  • 1.0.1
    record
    2022-07-08 · diff ↗
  • 1.0.0
    record
    2022-07-01 · diff ↗ ·
    removed 2 exports
    step_downsample, step_upsample
    added 13 exports
    are_weights_used, averages, check_new_data, correlations, covariances, frequency_weights, get_case_weights, importance_weights, medians, pca_wts, step_time, update_role_requirements, variances
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    record
    2022-02-19 · diff ↗ ·
    added 9 exports
    dummy_extract_names, extract_parameter_dials, extract_parameter_set_dials, print_step, step_dummy_extract, step_filter_missing, step_nnmf_sparse, step_percentile, tune_args
  • 0.1.17
    record
    2021-09-27 · diff ↗ ·
    added 3 exports
    recipes_eval_select, step_dummy_multi_choice, step_harmonic
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.16
    record
    2021-04-16 · diff ↗ ·
    added 12 exports
    all_nominal_predictors, all_numeric_predictors, get_keep_original_cols, step_impute_bag, step_impute_knn, step_impute_lower, step_impute_mean, step_impute_median, step_impute_mode, step_impute_roll, step_indicate_na, step_select
  • 0.1.15
    record
    2020-11-11 · diff ↗ ·
    removed 32 exports
    required_pkgs.step_depth, required_pkgs.step_ica, required_pkgs.step_isomap, required_pkgs.step_kpca, required_pkgs.step_kpca_poly, required_pkgs.step_kpca_rbf, required_pkgs.step_nnmf, required_pkgs.step_pls, required_pkgs.step_window, tunable.check, tunable.step, tunable.step_bagimpute, tunable.step_bs, tunable.step_corr, tunable.step_discretize, tunable.step_downsample, tunable.step_ica, tunable.step_isomap, tunable.step_knnimpute, tunable.step_kpca_poly, tunable.step_kpca_rbf, tunable.step_meanimpute, tunable.step_nnmf, tunable.step_ns, tunable.step_nzv, tunable.step_other, tunable.step_pca, tunable.step_pls, tunable.step_poly, tunable.step_rollimpute and 2 more
    added 3 exports
    required_pkgs, tunable, update
  • 0.1.14
    record
    2020-10-17 · diff ↗ ·
    added 10 exports
    required_pkgs.step_depth, required_pkgs.step_ica, required_pkgs.step_isomap, required_pkgs.step_kpca, required_pkgs.step_kpca_poly, required_pkgs.step_kpca_rbf, required_pkgs.step_nnmf, required_pkgs.step_pls, required_pkgs.step_window, step_impute_linear
  • 0.1.13
    record
    2020-06-23 · diff ↗ ·
    added 1 export
    tunable.check
  • 0.1.12
    record
    2020-05-01 · diff ↗
  • 0.1.11
    record
    2020-04-30 · diff ↗ ·
    added 1 export
    step_cut
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.10
    record
    2020-03-18 · diff ↗ ·
    removed 1 export
    yj_trans
    added 1 export
    yj_transform
  • 0.1.9
    record
    2020-01-07 · diff ↗ ·
    added 1 export
    step_relevel
  • 0.1.8
    record
    2019-12-18 · diff ↗ ·
    added 1 export
    check_class
  • 0.1.7
    record
    2019-09-15 · diff ↗ ·
    added 30 exports
    check_new_values, format_ch_vec, format_selectors, step_kpca_poly, step_kpca_rbf, step_mutate_at, step_rename, step_rename_at, tunable.step, tunable.step_bagimpute, tunable.step_bs, tunable.step_corr, tunable.step_discretize, tunable.step_downsample, tunable.step_ica, tunable.step_isomap, tunable.step_knnimpute, tunable.step_kpca_poly, tunable.step_kpca_rbf, tunable.step_meanimpute, tunable.step_nnmf, tunable.step_ns, tunable.step_nzv, tunable.step_other, tunable.step_pca, tunable.step_pls, tunable.step_poly, tunable.step_rollimpute, tunable.step_upsample, tunable.step_window
  • 0.1.6
    record
    2019-07-02 · diff ↗ ·
    added 2 exports
    step_normalize, step_unknown
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.5
    record
    2019-03-21 · diff ↗ ·
    added 1 export
    remove_role
  • 0.1.4
    record
    2018-11-19 · diff ↗ ·
    added 15 exports
    check_name, prepper, rand_id, recipes_pkg_check, step_arrange, step_filter, step_geodist, step_integer, step_medianimpute, step_mutate, step_nnmf, step_sample, step_slice, tidy, update_role
  • 0.1.3
    record
    2018-06-16 · diff ↗ ·
    added 13 exports
    check_range, check_type, detect_step, ellipse_check, fully_trained, is_trained, printer, sel2char, step_inverse, step_lag, step_naomit, step_pls, step_rollimpute
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    record
    2018-01-11 · diff ↗ ·
    added 11 exports
    add_check, check, check_cols, check_missing, fixed, prof, step_downsample, step_novel, step_num2factor, step_profile, step_upsample
  • 0.1.1
    record
    2017-11-20 · diff ↗ ·
    added 9 exports
    dummy_names, step_bs, step_count, step_factor2string, step_lowerimpute, step_relu, step_string2factor, step_unorder, step_zv
  • 0.1.0
    record
    2017-07-27
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-27
Total releases
39 / 9 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-2 in 0.1.16
Minimum R
≥ 4.1
Download size
878 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("recipes")
Kuhn, M., Posit Software, PBC, Hvitfeldt, E., & Wickham, H. (2026). recipes: Preprocessing and Feature Engineering Steps for Modeling (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.recipes

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 recipes version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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