Skip to content

posterior

1.7.0

Tools for Working with Posterior Distributions

107packages depend
5.8Mdownloads / year
95.3%test coverage
13/13checks pass

Overview

About
Maintained by Paul-Christian BürknerFirst published 2021-07-1314 releasesCRAN page ↗GitHub ↗

Provides useful tools for both users and developers of packages for fitting Bayesian models or working with output from Bayesian models. The primary goals of the package are to: (a) Efficiently convert between many different useful formats of draws (samples) from posterior or prior distributions. (b) Provide consistent methods for operations commonly performed on draws, for example, subsetting, binding, or mutating draws. (c) Provide various summaries of draws in convenient formats. (d) Provide lightweight implementations of state of the art posterior inference diagnostics. References: Vehtari et al. (2021) doi:10.1214/20-BA1221.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.58
95.3%
Coverage · measured lines
97%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-06-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-14
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,395 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
99%
Documented parameters
98%
Return-value docs
96%
References docs
25%

Downloads

5.8M
CRAN downloads in the past year
Rank #104 · ~15.8K/day · ~479.8K/mo
Daily download trend is not available in this view yet.
808K30 days
2M90 days
5.8M1 year
Compare downloads with other packages →
Also on14.5K r2u43 autocran17.3K conda_forge312 c2d4u

Repository

Repository
172Stars
24Forks
62Open issues
10Open PRs
11Releases
1,374Commits
22Contributors
r-packagebayesianmcmcbayes
1,374 commits · Last activity 2026-07-23 · +0.6% stars, 30d

Stars over time

2025-05-09 · 1672026-07-20 · 172

Repository practices

Upstream repositoryBeta

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

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

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (11)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Contributors (7)
Contributor
Contributor · added in 1.6.0
Contributor
Contributor
Contributor
Contributor · added in 1.7.0
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.0Latest
    2026-04-01 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.6.1
    2025-02-27 · diff ↗
  • 1.6.0
    2024-07-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.0
    2023-10-31 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.1
    2023-03-14 · diff ↗
  • 1.4.0
    2023-02-22 · diff ↗
  • 1.3.1
    2022-09-06 · diff ↗
  • 1.3.0
    2022-08-15 · diff ↗
  • 1.2.2
    2022-06-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.1
    2022-03-07 · diff ↗
  • 1.2.0
    2022-01-05 · diff ↗
Show 4 earlier events
  • 1.1.0
    2021-09-09 · diff ↗
  • 1.0.1
    2021-07-14 · diff ↗
  • 1.0.0
    2021-07-13
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-13
Total releases
14 / 5 yrs
License
BSD_3_clause + file LICENSE OSI
Minimum R
≥ 3.2.0
Download size
443 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →