Skip to content

shapper

0.1.3

Wrapper of Python Library 'shap'

0packages depend
17.6Kdownloads / year
0.0%test coverage
11/13checks pass

Overview

About
Maintained by Szymon MaksymiukFirst published 2019-03-024 releasesCRAN page ↗GitHub ↗

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'.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 4.2 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.14
0.0%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    11 OK · 1 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
83%
Return-value docs
67%
References docs
0%

Downloads

17.6K
CRAN downloads in the past year
Rank #5,638 · ~48/day · ~1.5K/mo
Daily download trend is not available in this view yet.
30830 days
1.4K90 days
17.6K1 year
Compare downloads with other packages →
Also on121 r2u10 autocran32 c2d4u

Repository

Repository
58Stars
13Forks
14Open issues
1Open PRs
0Releases
150Commits
8Contributors
150 commits · Last activity 2023-05-25

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/modeloriented/shapper on 2026-08-09.

Continuous integration (1)
Travis CI
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer · added in 0.1.1
Authors (3)
Author, Maintainer · added in 0.1.1
Contributors (2)
Contributor · added in 0.1.1
Package Timeline

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

  • 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
    2020-08-28 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.2
    2019-08-02 · diff ↗
  • 0.1.1
    2019-07-10 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet

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 is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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