Skip to content

shinystan

2.7.0

Interactive Visual and Numerical Diagnostics and Posterior Analysis for Bayesian Models

11packages depend
1.6Mdownloads / year
88.9%test coverage
9/13checks pass

Overview

About
Maintained by Jonah GabryFirst published 2015-08-1010 releasesCRAN page ↗GitHub ↗

A graphical user interface for interactive Markov chain Monte Carlo (MCMC) diagnostics and plots and tables helpful for analyzing a posterior sample. The interface is powered by the 'Shiny' web application framework from 'RStudio' and works with the output of MCMC programs written in any programming language (and has extended functionality for 'Stan' models fit using the 'rstan' and 'rstanarm' packages).

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 5.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.23
88.9%
Coverage · measured lines
100%
Documentation · exports
19
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
56%
Documented parameters
90%
Return-value docs
80%
References docs
25%

Downloads

1.6M
CRAN downloads in the past year
Rank #197 · ~4.5K/day · ~137.2K/mo
Daily download trend is not available in this view yet.
297.8K30 days
897.2K90 days
1.6M1 year
Compare downloads with other packages →
Also on8K r2u141 autocran3K conda_forge335 c2d4u

Repository

Repository
199Stars
47Forks
23Open issues
1Open PRs
11Releases
921Commits
11Contributors
stanmcmcr-packagestatistical-graphicsshiny-appsrbayesianbayesian-statistics
License GPL-3.0 · 921 commits · Last activity 2026-06-24 · 0% stars, 30d

Stars over time

2025-03-13 · 1982026-07-07 · 199

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/stan-dev/shinystan on 2026-07-19.

Continuous integration (1)
GitHub Actions
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
RStudio project
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.1.0shiny
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 2,779 (69%)Rd 964 (24%)Vignettes 260 (6%)
Code characteristics
Object systems
S32S4 class2S4 generic1S4 method7
Cyclomatic complexity
2.0 median / 12 max
Test cases
29 / 0.23 per code line

Test coverage

Line coverage

89%

Expression

88.2%

Tests / Examples

88.9% / 31% ex

Functions

65 13 exported

Complexity

2.8 avg / 12 max

Call network

65 nodes / 67 edges

Loading call graph…

Lowest coverage

65 functions
FunctionCycloCoverage
launch_shinystan_demo exp10%
.onLoad20%
as.shinystan_cmdstanr50%
launch20%
check_suggests217%
launch_shinystan.shinystan125%

People & History

People (13)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 2.6.0
Contributors (11)
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Show 3 more contributors
Contributor · added in 2.7.0
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.7.0Latest
    2025-12-12 · current release · 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
  • R
    R 4.2.0 released · 2022-04-22
  • 2.6.0
    2022-03-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.5.0
    2018-05-01 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.4.0
    2017-08-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.3.0
    2017-02-01 · diff ↗
  • 2.2.1
    2016-08-31 · diff ↗
Show 6 earlier events
  • 2.2.0
    2016-05-25 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2.1.0
    2016-01-06 · diff ↗
  • 2.0.1
    2015-09-17 · diff ↗
  • 2.0.0
    2015-08-10
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-08-10
Total releases
10 / 11 yrs
License
GPL (>= 3) OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 3.1.0
Bundled data
804 KB / 1 file
Download size
2.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →