Skip to content

shapviz

0.10.4

SHAP Visualizations

1packages dependsuggested by 3
82.5Kdownloads / year
86.4%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.10.4

Maintenance

  • XGBoost related changes in the documentation (#186):
  • nthread is now part of xgb.train(params = list(...))
  • Due to updates in both the fit algorithm and the TreeSHAP implementation,

some pictures look different now, e.g., in the README.

  • fastshap is now on R-universe, so we have updated the dependency (#186).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.10.4
READMEYes · 219 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 0.10.4Citation fileNoWebsiteYes · pkgdown
Help pages
27includes a package overview page
Examples that run
96%23 run in a plain check · 1 never run
Exported functions with examples
93%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
0%

Downloads

82.5K
CRAN downloads in the past year
Rank #1,482 · ~226/day · ~6.9K/mo
Daily download trend is not available in this view yet.
6.2K30 days
16.9K90 days
82.5K1 year
Compare downloads with other packages →
Also on369 r2u10 autocran2.3K conda_forge55 c2d4u

Repository

124Stars
15Forks
0Open issues
0Open PRs
24Releases
516Commits
6Commit identities
explainable-aimachine-learningrstatsshapvisualizationxaishapley-value
License file reads as GPL-2.0 · 516 commits · Last activity 2026-08-31 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
96%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-15 · 1092026-09-14 · 124
PracticesBeta

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

Checks run against github.com/modeloriented/shapviz 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 2026-08-31 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing shapviz adds 38 packages (21 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

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

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2022)
Contributor · added in 0.7.0
Releases (24)

Pick two releases to compare their code metrics.

Show 13 earlier eventsHide 13 earlier events

Package metadata

First published
2022-06-10
Total releases
24 / 4 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
634 KB / 1 file
Download size
1.9 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("shapviz")
Mayer, M., & Stando, A. (2026). shapviz: SHAP Visualizations (Version 0.10.4) [Computer software]. https://doi.org/10.32614/CRAN.package.shapviz

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 shapviz version 0.10.4 [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