Skip to content

ingredients

2.3.0

Effects and Importances of Model Ingredients

5packages dependsuggested by 4
95.7Kdownloads / year
83.5%test coverage
11/13flavors OK

Overview

About

Collection of tools for assessment of feature importance and feature effects. Key functions are: feature_importance() for assessment of global level feature importance, ceteris_paribus() for calculation of the what-if plots, partial_dependence() for partial dependence plots, conditional_dependence() for conditional dependence plots, accumulated_dependence() for accumulated local effects plots, aggregate_profiles() and cluster_profiles() for aggregation of ceteris paribus profiles, generic print() and plot() for better usability of selected explainers, generic plotD3() for interactive, D3 based explanations, and generic describe() for explanations in natural language. The package 'ingredients' is a part of the 'DrWhy.AI' universe (Biecek 2018) arXiv:1806.08915.

Changes in 2.3.0
  • breaking change: calculate_variable_splits() now treats integer variables as categorical. This change is propagated to ceteris_paribus(), partial_dependence(), accumulated_dependence(), conditional_dependence(), aggregate_profiles(), DALEX::predict_profile(), DALEX::model_profile()
  • fix an error in ceteris_paribus / calculate_variable_splits when tidymodels uses integer variables #145
  • fix an error in show_observations #148. This change is propagated to DALEX::plot.predict_profile() #540.
  • fix #149 by replacing all class(x) = "y" with is(x, "y")

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Przemyslaw Biecek <przemyslaw.biecek@gmail.com>’

The Description field contains
  universe (Biecek 2018) <arXiv:1806.08915>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

CRAN check page ↗

Slowest check: 12.4 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.3.0
README· In the repository, left out of the releaseVignettesYes · 3 · dynamicNEWSYes · 33% structured · mentions 2.3.0Citation fileNoWebsiteYes · pkgdown
Help pages
31
Examples that run
93%27 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
95%
Help pages citing references
81%

Downloads

95.7K
CRAN downloads in the past year
Rank #1,454 · ~262/day · ~8K/mo
Daily download trend is not available in this view yet.
5.6K30 days
17.5K90 days
95.7K1 year
Compare downloads with other packages →
Also on2.8K r2u7 autocran2.3K conda_forge113 c2d4u

Repository

39Stars
19Forks
3Open issues
2Open PRs
3Releases
339Commits
18Commit identities
License file reads as GPL-3.0 · 339 commits · Last activity 2023-03-15 · 0% stars, 30d · Default branch at 2.3.1, ahead of CRAN 2.3.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
18
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-14 · 382026-07-23 · 39
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/modeloriented/ingredients 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

Docs source (3)
pkgdown

GitHub Pages site last deployed 2023-01-14 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing ingredients adds 18 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.5
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
15indirect
Imports 5
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.3.1 (2019)
Contributor · added in 0.3.9
Listed in earlier versions (1)
Katarzyna Pekala
no longer listed · 0.3.9 to 0.4
Releases (14)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.3.0Latest
    record
    2023-01-15 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.2.0
    record
    2021-04-10 · diff ↗
  • 2.0.1
    record
    2021-02-05 · diff ↗
  • 2.0
    record
    2020-09-01 · diff ↗
  • 1.3.1
    record
    2020-07-29 · diff ↗
  • 1.3.0
    record
    2020-07-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0
    record
    2020-04-20 · diff ↗
  • 1.1
    record
    2020-03-11 · diff ↗
  • 1.0
    record
    2020-02-18 · diff ↗ ·
    added 4 exports
    accumulated_dependence, bind_plots, conditional_dependence, partial_dependence
Show 7 earlier eventsHide 7 earlier events
  • 0.5.0
    record
    2019-12-20 · diff ↗
  • 0.4
    record
    2019-10-27 · diff ↗ ·
    removed 5 exports
    aspect_importance, aspect_importance_single, get_sample, group_variables, lime
  • 0.3.9
    record
    2019-08-27 · diff ↗ ·
    removed 7 exports
    calculate_variable_profile, calculate_variable_split, theme_drwhy, theme_drwhy_blank, theme_drwhy_colors, theme_drwhy_colors_gradient, theme_drwhy_vertical
    added 5 exports
    aspect_importance, aspect_importance_single, get_sample, group_variables, lime
  • 0.3.3
    record
    2019-05-01 · diff ↗ ·
    removed 1 export
    show_aggreagated_profiles
    added 4 exports
    describe, show_aggregated_profiles, show_profiles, show_residuals
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.1
    record
    2019-04-09
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-04-09
Total releases
14 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5
Download size
2.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ingredients")
Biecek, P., Baniecki, H., & Izdebski, A. (2023). ingredients: Effects and Importances of Model Ingredients (Version 2.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ingredients

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 ingredients version 2.3.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