Skip to content

shapper

0.1.3Package record

Wrapper of Python Library 'shap'

0packages depend
14Kdownloads / year
0.0%test coverage
11/13flavors OK

Overview

About

Provides SHAP explanations of machine learning models. In applied machine learning, there is a strong belief that we need to strike a balance between interpretability and accuracy. However, in field of the Interpretable Machine Learning, there are more and more new ideas for explaining black-box models. One of the best known method for local explanations is SHapley Additive exPlanations (SHAP) introduced by Lundberg, S., et al., (2016) arXiv:1705.07874 The SHAP method is used to calculate influences of variables on the particular observation. This method is based on Shapley values, a technique used in game theory. The R package 'shapper' is a port of the Python library 'shap'.

Changes in 0.1.3
  • id param for plot.individual_variable_effect now works as intended. Thanks (#27)
  • Removed duplicated functions from DALEX
  • shapper now imports DALEX

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: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

CRAN check page ↗

Slowest check: 3.9 min · r-release-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-09
  • WARNING11 OK, 1 NOTE, 1 WARNING2026-06-08
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.3
README· In the repository, left out of the releaseVignettesYes · 2 · dynamicNEWSYes · 33% structured · mentions 0.1.3Citation fileNo
Help pages
5
Examples that run
75%3 run in a plain check · 1 never run
Exported functions with examples
67%
Documented parameters
83%
Return-value docs
67%
Help pages citing references
0%

Downloads

14K
CRAN downloads in the past year
Rank #6,629 · ~38/day · ~1.2K/mo
Daily download trend is not available in this view yet.
40730 days
1.3K90 days
14K1 year
Compare downloads with other packages →
Also on91 r2u2 autocran45 c2d4u

Repository

58Stars
13Forks
14Open issues
1Open PRs
0Releases
150Commits
8Commit identities
150 commits · Last activity 2023-05-25 · Default branch at 0.1.4, ahead of CRAN 0.1.3 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
69%
Median days to close, 50 most recently updated closed issues
82
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-16 · 582026-07-07 · 58
PracticesBeta

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

Checks run against github.com/modeloriented/shapper on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2023-05-25

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 v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing shapper adds 39 packages (15 with compiled code, 25 MB of source tarballs). Heaviest: ggplot2 6.0 MB, ingredients 2.4 MB, Rcpp 1.8 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.1.1 (2019) · added in 0.1.1
Contributor · added in 0.1.1

Previously maintained by Alicja Gosiewska (0.1.0).

Releases (4)

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
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.3Latest
    record
    2020-08-28 · current release · diff ↗ ·
    removed 2 exports
    theme_drwhy, theme_drwhy_vertical
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.2
    record
    2019-08-02 · diff ↗
  • 0.1.1
    record
    2019-07-10 · diff ↗ ·
    added 3 exports
    theme_drwhy, theme_drwhy_colors, theme_drwhy_vertical
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.0
    record
    2019-03-02
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-03-02
Total releases
4 / 7 yrs
License
GPL
Download size
39 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("shapper")
Maksymiuk, S., Biecek, P., Burdukiewicz, M., Gosiewska, A., & Staniak, M. (2020). shapper: Wrapper of Python Library 'shap' (Version 0.1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.shapper

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

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