Skip to content

shapviz

0.10.3

SHAP Visualizations

4packages depend
90.4Kdownloads / year
86.4%test coverage
13/13checks pass

Overview

About
Maintained by Michael MayerFirst published 2022-06-1023 releasesCRAN page ↗GitHub ↗

Visualizations for SHAP (SHapley Additive exPlanations), such as waterfall plots, force plots, various types of importance plots, dependence plots, and interaction plots. These plots act on a 'shapviz' object created from a matrix of SHAP values and a corresponding feature dataset. Wrappers for the R packages 'xgboost', 'lightgbm', 'fastshap', 'shapr', 'h2o', 'treeshap', 'DALEX', and 'kernelshap' are added for convenience. By separating visualization and computation, it is possible to display factor variables in graphs, even if the SHAP values are calculated by a model that requires numerical features. The plots are inspired by those provided by the 'shap' package in Python, but there is no dependency on it.

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.35
86.4%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 219 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
96%
Documented parameters
93%
Return-value docs
100%
References docs
0%

Downloads

90.4K
CRAN downloads in the past year
Rank #1,518 · ~248/day · ~7.5K/mo
Daily download trend is not available in this view yet.
5K30 days
19K90 days
90.4K1 year
Compare downloads with other packages →
Also on303 r2u37 autocran2.4K conda_forge29 c2d4u

Repository

Repository
123Stars
15Forks
0Open issues
0Open PRs
23Releases
501Commits
6Contributors
explainable-aimachine-learningrstatsshapvisualizationxaishapley-value
License GPL-2.0 · 501 commits · Last activity 2025-10-13 · +1.7% stars, 30d

Stars over time

2025-07-22 · 1032026-07-15 · 123

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/modeloriented/shapviz on 2026-07-26.

Continuous integration (1)
GitHub Actions
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

Datasets

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.10.3Latest
    2025-10-13 · current release · diff ↗
  • 0.10.2
    2025-07-17 · diff ↗
  • 0.10.1
    2025-06-23 · diff ↗
  • 0.10.0
    2025-06-22 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.7
    2025-01-19 · diff ↗
  • 0.9.6
    2024-10-11 · diff ↗
  • 0.9.5
    2024-09-14 · diff ↗
  • 0.9.4
    2024-08-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.3
    2024-01-12 · diff ↗
  • 0.9.2
    2023-10-14 · diff ↗
  • 0.9.1
    2023-07-18 · diff ↗
  • 0.9.0
    2023-06-09 · diff ↗
  • 0.8.0
    2023-05-10 · diff ↗
Show 12 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 0.7.0
    2023-04-11 · diff ↗
  • 0.6.0
    2023-03-05 · diff ↗
  • 0.5.0
    2023-02-03 · diff ↗
  • 0.4.1
    2023-01-11 · diff ↗
  • 0.4.0
    2022-12-09 · diff ↗
  • 0.3.0
    2022-11-26 · diff ↗
  • 0.2.2
    2022-10-07 · diff ↗
  • 0.2.1
    2022-08-11 · diff ↗
  • 0.2.0
    2022-07-07 · diff ↗
  • 0.1.0
    2022-06-10
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-06-10
Total releases
23 / 4 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
634 KB / 1 file
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →