Skip to content

bayesplot

1.15.0

Plotting for Bayesian Models

102packages depend
1.8Mdownloads / year
98.7%test coverage
9/13checks pass

Overview

About
Maintained by Jonah GabryFirst published 2016-11-1820 releasesCRAN page ↗GitHub ↗

Plotting functions for posterior analysis, MCMC diagnostics, prior and posterior predictive checks, and other visualizations to support the applied Bayesian workflow advocated in Gabry, Simpson, Vehtari, Betancourt, and Gelman (2019) doi:10.1111/rssa.12378. The package is designed not only to provide convenient functionality for users, but also a common set of functions that can be easily used by developers working on a variety of R packages for Bayesian modeling, particularly (but not exclusively) packages interfacing with 'Stan'.

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: 13.0 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.37
98.7%
Coverage · measured lines
100%
Documentation · exports
12
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
84%
Documented parameters
71%
Return-value docs
94%
References docs
54%

Downloads

1.8M
CRAN downloads in the past year
Rank #206 · ~4.9K/day · ~148.5K/mo
Daily download trend is not available in this view yet.
291.2K30 days
832.9K90 days
1.8M1 year
Compare downloads with other packages →
Also on11.2K r2u211 autocran9K conda_forge351 c2d4u

Repository

Repository
440Stars
94Forks
59Open issues
16Open PRs
19Releases
2,367Commits
42Contributors
r-packagestatistical-graphicsstanbayesianggplot2visualizationmcmcbayesian-workflow
License GPL-3.0 · 2,367 commits · Last activity 2026-07-17 · 0% stars, 30d

Stars over time

2025-06-13 · 4322026-07-07 · 440

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/bayesplot 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
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 19,199 (70%)Rd 6,667 (24%)Vignettes 1,613 (6%)Other 14 (0%)
Code characteristics
Object systems
S336
Cyclomatic complexity
2.0 median / 16 max
Test cases
311 / 0.37 per code line
System requirements
2 external

Test coverage

Line coverage

99%

Expression

97.5%

Tests / Examples

98.7% / – ex

Functions

373 162 exported

Complexity

2.5 avg / 16 max

Call network

373 nodes / 1115 edges

Loading call graph…

Lowest coverage

373 functions
FunctionCycloCoverage
capitalize_first10%
log_posterior.CmdStanMCMC10%
modify_aes_10%
neff_ratio.CmdStanMCMC10%
nuts_params.CmdStanMCMC20%
parameter_names.default10%

People & History

People (11)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.4.0
Contributors (9)
Contributor · added in 1.6.0
Contributor · added in 1.6.0
Contributor · added in 1.8.0
Contributor · added in 1.6.0
Contributor · added in 1.10.0
Contributor · added in 1.15.0
Contributor · added in 1.14.0
Contributor · added in 1.8.0
Show 1 more contributors
Contributor · added in 1.8.0
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.5.0
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.15.0Latest
    2025-12-12 · current release · diff ↗
  • 1.14.0
    2025-09-01 · diff ↗
  • 1.13.0
    2025-06-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.12.0
    2025-04-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.11.1
    2024-02-15 · diff ↗
  • 1.11.0
    2024-01-31 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.10.0
    2022-11-16 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.9.0
    2022-03-10 · diff ↗
  • 1.8.1
    2021-06-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.8.0
    2021-01-10 · diff ↗
Show 15 earlier events
  • 1.7.2
    2020-05-28 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.7.1
    2019-12-02 · diff ↗
  • 1.7.0
    2019-05-23 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.6.0
    2018-08-02 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5.0
    2018-03-30 · diff ↗
  • 1.4.0
    2017-09-12 · diff ↗
  • 1.3.0
    2017-08-07 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.0
    2017-04-12 · diff ↗
  • 1.1.0
    2016-12-20 · diff ↗
  • 1.0.0
    2016-11-18
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-11-18
Total releases
20 / 10 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
4.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →