Skip to content

DALEX

2.5.4

moDel Agnostic Language for Exploration and eXplanation

29packages depend
128.1Kdownloads / year
85.0%test coverage
13/13checks pass

Overview

About
Maintained by Przemyslaw BiecekFirst published 2018-02-2832 releasesCRAN page ↗GitHub ↗

Any unverified black box model is the path to failure. Opaqueness leads to distrust. Distrust leads to ignoration. Ignoration leads to rejection. DALEX package xrays any model and helps to explore and explain its behaviour. Machine Learning (ML) models are widely used and have various applications in classification or regression. Models created with boosting, bagging, stacking or similar techniques are often used due to their high performance. But such black-box models usually lack direct interpretability. DALEX package contains various methods that help to understand the link between input variables and model output. Implemented methods help to explore the model on the level of a single instance as well as a level of the whole dataset. All model explainers are model agnostic and can be compared across different models. DALEX package is the cornerstone for 'DrWhy.AI' universe of packages for visual model exploration. Find more details in (Biecek 2018) https://jmlr.org/papers/v19/18-416.html.

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.38
85.0%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-07-17
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
64%
Documented parameters
98%
Return-value docs
95%
References docs
25%

Downloads

128.1K
CRAN downloads in the past year
Rank #1,389 · ~351/day · ~10.7K/mo
Daily download trend is not available in this view yet.
6K30 days
23.4K90 days
128.1K1 year
Compare downloads with other packages →
Also on4.6K r2u42 autocran4.6K conda_forge54 c2d4u

Repository

Repository
1,481Stars
170Forks
28Open issues
3Open PRs
4Releases
700Commits
28Contributors
machine-learninginterpretabilitydata-sciencexaiimlmodel-visualizationdalexexplanations
License GPL-3.0 · 700 commits · Last activity 2026-07-15 · +0.4% stars, 30d

Stars over time

2025-07-22 · 1,4212026-07-09 · 1,481

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/modeloriented/dalex on 2026-07-19.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
Governance and community (1)
Funding
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Suggests (4)
Enhances (0)
none

Code & Tests

Code Composition
R 5,564 (71%)Rd 2,286 (29%)
Code characteristics
Object systems
S355
Cyclomatic complexity
1.0 median / 50 max
Test cases
89 / 0.38 per code line

Test coverage

Line coverage

85%

Expression

85.2%

Tests / Examples

85.0% / 23% ex

Functions

140 50 exported

Complexity

2.6 avg / 50 max

Call network

140 nodes / 126 edges

Loading call graph…

Lowest coverage

140 functions
FunctionCycloCoverage
install_dependencies exp10%
set_theme_dalex exp40%
single_variable exp20%
theme_ema exp10%
theme_ema_vertical exp10%
is_y_in_data10%

Datasets

Bundled datasets · 15
NameClassRows × ColsAlso ships in
HRdata.frame7,847 × 6in 2 packages
HRTestdata.frame7,897 × 6in 2 packages
HR_testdata.frame7,897 × 6in 2 packages
apartmentsdata.frame1,000 × 6in 3 packages
apartmentsTestdata.frame9,000 × 6in 3 packages
apartments_testdata.frame9,000 × 6in 3 packages
covid_springdata.frame10,000 × 12
covid_summerdata.frame10,000 × 12
dragonsdata.frame2,000 × 8in 2 packages
dragons_testdata.frame1,000 × 8in 2 packages
fifadata.frame5,000 × 42
happiness_testdata.frame156 × 7in 2 packages
happiness_traindata.frame625 × 7in 2 packages
titanicdata.frame2,207 × 9in 2 packages
titanic_imputeddata.frame2,207 × 8

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 1.2.0
Author · added in 0.4.4
Package Timeline

32 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.5.4Latest
    2026-07-15 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.5.3
    2025-10-16 · diff ↗
  • 2.5.2
    2025-07-27 · diff ↗
  • 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.4.3
    2023-01-16 · diff ↗
  • 2.4.2
    2022-06-16 · diff ↗
  • 2.4.1
    2022-05-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.4.0
    2022-02-21 · diff ↗
  • 2.3.0
    2021-07-28 · diff ↗
  • 2.2.1
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.2.0
    2021-03-20 · diff ↗
Show 26 earlier events
  • 2.1.1
    2021-02-20 · diff ↗
  • 2.0.1
    2020-10-26 · diff ↗
  • 2.0
    2020-09-04 · diff ↗
  • 1.3.1.1
    2020-08-01 · diff ↗
  • 1.3.0
    2020-07-02 · diff ↗
  • 1.2.1
    2020-04-25 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0
    2020-04-22 · diff ↗
  • 1.0.1
    2020-02-26 · diff ↗
  • 1.0
    2020-02-21 · diff ↗
  • 0.4.9
    2019-10-24 · diff ↗
  • 0.4.7
    2019-08-25 · diff ↗
  • 0.4.4
    2019-07-06 · diff ↗
  • 0.4
    2019-05-17 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.0
    2019-03-25 · diff ↗
  • 0.2.7
    2019-03-03 · diff ↗
  • 0.2.6
    2019-01-07 · diff ↗
  • 0.2.5
    2019-01-02 · diff ↗
  • 0.2.4
    2018-08-06 · diff ↗
  • 0.2.3
    2018-06-13 · diff ↗
  • 0.2.2
    2018-05-22 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    2018-04-05 · diff ↗
  • 0.1.1
    2018-02-28
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-02-28
Total releases
32 / 8 yrs
License
GPL
Minimum R
≥ 3.5
Bundled data
864 KB / 15 files
Download size
1.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →