R Observatory
Search
install.packages("tidybayes")
CRAN 30-day downloads, method
5,240−11% down on the 30 days before, the worse direction
Test coverage, method
80%of lines run by tests

Compose data for and extract, manipulate, and visualize posterior draws from Bayesian models ('JAGS', 'Stan', 'rstanarm', 'brms', 'MCMCglmm', 'coda', ...) in a tidy data format.

Full description

Compose data for and extract, manipulate, and visualize posterior draws from Bayesian models ('JAGS', 'Stan', 'rstanarm', 'brms', 'MCMCglmm', 'coda', ...) in a tidy data format. Functions are provided to help extract tidy data frames of draws from Bayesian models and that generate point summaries and intervals in a tidy format. In addition, 'ggplot2' 'geoms' and 'stats' are provided for common visualization primitives like points with multiple uncertainty intervals, eye plots (intervals plus densities), and fit curves with multiple, arbitrary uncertainty bands.

Maintainer
Matthew Kay
Licence
GPL (>= 3)
Latest release
15 Sep 2024
First release
2 Aug 2018

Compare with another package

More details
Releases
16
Needs compilation
No
Needs R
>= 4.0.0
Language
en-US
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("tidybayes")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 tidybayes version 3.0.7 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    3.0.7
    Time taken
    322 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    3.0.7
    Time taken
    216 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    3.0.7
    Time taken
    243 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    3.0.7
    Time taken
    216 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    383 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    3.0.7
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    336 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    448 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    310 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    314 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    3.0.7
    Time taken
    76 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    570 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    3.0.7
    Time taken
    339 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
8 Jun 2026OK12000
7 Jun 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
1,496+146% up on the 30 days before, the better directionIt is the sum of 3 channels: r2u, autoCRAN and conda-forge. CRAN is switched off.

CRAN rank

1,548 of 26,530

CRAN

5,240 downloads in the last 30 days

Rank
1,548 of 26,530
Change
−11% down on the 30 days before, the worse direction

It is switched off. Put it back

r2u

733 downloads in the last 30 days

Rank
966 of 30,526
Change
+169% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

119 downloads in the last 30 days

Rank
564 of 29,212
Change
+2.6% up on the 30 days before, the better direction

It is in the total. Take it out

conda-forge

644 downloads in the last 30 days

Rank
1,299 of 3,828
Change
+194% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
15
Dependent packages
11
Suggested by
12
Needs (15)
Installing it adds
43 packages, 34.0 MB of source
Of those, need compilation
22
Optional extras (31)
Dependent packages (11)
PackageTitleDownloads in 30 days
trialrClinical Trial Designs in 'rstan'545
rcbayesEstimate Rogers-Castro Migration Age Schedules with Bayesian Models368
bennuBayesian Estimation of Naloxone Kit Number Under-Reporting358
fidoBayesian Multinomial Logistic Normal Regression354
idealstanRobust Measurement with 'Stan'343
surveilTime Series Models for Disease Surveillance324
tidytreatmentTidy Methods for Bayesian Treatment Effect Models310
mcmsupplyEstimating Public and Private Sector Contraceptive Market Supply Shares300
reslrModelling Relative Sea Level Data289
hmetadFit the Meta-D' Model of Confidence Ratings Using 'brms'284
BayesGrowthEstimate Fish Growth Using MCMC Analysis260
Functions
201
Public exports
221
Lines of R code
6,536
Median complexity
1
Functions (201)
Size and composition

Lines by kind (17,884)

KindLinesShare
R code6,53637%
Tests3,95922%
Documentation3,47119%
Guides3,91822%

Lines by language

LanguageLinesShare
R10,49559%
Vignettes3,91822%
Rd3,47119%

Languages are counted from file extensions.

Files
182
R functions
201
Object systems
S3: 57 methods
Deprecated functions
48
Complexity
Median
1
Mean
1.75
Highest
15
Median lines per function
9
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
201
Calls
199
Unconnected
43
Groups
9
Growth (16 releases)
Total lines by release
12,837 on 2 Aug 201817,884 on 15 Sep 2024
Release changes

The tests ran and coverage was measured.

Lines run by tests
80.2%
Expressions run by tests
83.3%
Test cases
201
Exports named in tests
29%
Coverage by file (34)
Coverage run
Lines counted
1,512
Lines the tests ran
1,213
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
201
Snapshot tests
15
Lines of tests
3,959
Test lines per line of code
0.76
Exports documented
100%
Arguments documented
99.3%
Return value documented
80%
Help pages with examples
85.7%
Examples run in checks
54.2%
Guides (5)
Other documentation
README
No
Release notes file
Yes
Help pages
28
Lines of documentation
3,471

mjskay / tidybayes on github.com

Stars
749+0.13% up on 30 days ago, the better direction
Forks
63
Open issues
59
Last commit
17 Sep 2024
Activity
Commits
1,060
Open pull requests
4
Tagged releases
17
Latest tagged release
v3.0.7, 16 Sep 2024
In development
Default branch at 3.0.7.9000, ahead of CRAN 3.0.7 (checked 2026-10-25)
Issues closed in
8 days (median)
Pull requests closed in
13 days (median)
Pull requests merged
57%
Created
4 Apr 2015
Licence file reads as
GPL-3.0
Development practices (10)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2024-09-17
pkgdown site last built 2024-09-15
CoverageCoverage reporting (Codecov), .covrignore
CRAN release processcran-comments.md
Lint, format, editorlintr
Git structural.gitattributes

Method, repository practices

Across mjskay

R releases
  • On CRAN
  • Release
VersionReleasedR
3.0.7 current15 Sep 20244.4.1
3.0.613 Aug 20234.3.1
3.0.414 Mar 20234.2.2
3.0.34 Feb 20234.2.2
3.0.25 Jan 20224.1.2
3.0.122 Aug 20214.1.1
3.0.026 Jul 20214.1.0
2.3.12 Nov 20204.0.3
Earlier versions (8)
VersionReleasedR
2.1.119 Jun 20204.0.0
2.0.34 Apr 20203.6.3
2.0.219 Mar 20203.6.3
2.0.128 Jan 20203.6.2
1.1.02 Jun 20193.6.0
1.0.419 Feb 20193.5.2
1.0.322 Oct 20183.5.0
1.0.12 Aug 20183.5.0
Release notes (3.0.7)

New features:

  • Add support for draw_indices parameter in spread_draws() and gather_draws(). (#323)

Bug fixes:

  • Support for matrix columns in nest_rvars() and unnest_rvars(). (#316)
  • Fix some named dimensions being converted to numeric indices in spread_draws() on R >= 4.5.