Skip to content

MetaStan

1.0.0Package record

Bayesian Meta-Analysis via 'Stan'

0packages depend
3.5Kdownloads / year
55.6%test coverage
13/13flavors OK

Overview

About

Performs Bayesian meta-analysis, meta-regression and model-based meta-analysis using 'Stan'. Includes binomial-normal hierarchical models and option to use weakly informative priors for the heterogeneity parameter and the treatment effect parameter which are described in Guenhan, Roever, and Friede (2020) doi:10.1002/jrsm.1370.

Install

Health

CRAN checks
13OK
Slowest check: 16.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-29
  • ERROR12 OK, 1 ERROR2026-07-27
  • OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileNo
Help pages
15includes a package overview page
Examples that run
17%1 run in a plain check · 5 never run
Exported functions with examples
83%
Documented parameters
92%
Return-value docs
83%
Help pages citing references
27%

Downloads

3.5K
CRAN downloads in the past year
Rank #9,961 · ~10/day · ~296/mo
Daily download trend is not available in this view yet.
34130 days
1K90 days
3.5K1 year
Compare downloads with other packages →
Also on380 r2u5 autocran150 c2d4u

Repository

9Stars
4Forks
6Open issues
1Open PRs
0Releases
91Commits
9Commit identities
91 commits · Last activity 2023-03-07 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
25

Stars over time

2024-09-15 · 82026-07-07 · 9
PracticesBeta

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

Checks run against github.com/gunhanb/metastan on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2023-03-07

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing MetaStan adds 56 packages (23 with compiled code, 55 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, metafor 4.8 MB.

Depends (1)
R >= 3.5.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.0.1 (2018)
Author · added in 1.0.0
Copyright holder
src/init.cpp, tools/make_cpp.R, R/stanmodels.R
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 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
  • 1.0.0Latest
    record
    2022-01-22 · current release · diff ↗ ·
    removed 1 export
    create_MBMA_dat
    added 3 exports
    compare_MBMA, create_MetaStan_dat, forest_plot
  • 0.4.0
    record
    2021-07-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • unarchivedReturned to CRAN
    2020-04-09
  • 0.2.0
    record
    2020-04-09 · diff ↗
  • archivedRemoved from CRAN
    2020-04-03
    check problems were not corrected in time Errors in '\donttest' parts of examples
  • 0.1.1
    record
    2019-12-03 · diff ↗
  • 0.1.0
    record
    2019-05-12 · diff ↗ ·
    added 2 exports
    MBMA_stan, create_MBMA_dat
  • R
    R 3.6.0 released · 2019-04-26
  • 0.0.3
    record
    2019-01-19 · diff ↗
Show 5 earlier eventsHide 5 earlier events
  • unarchivedReturned to CRAN
    2018-11-15
  • 0.0.2
    record
    2018-11-15 · diff ↗
  • archivedRemoved from CRAN
    2018-11-10
    installation errors were not corrected despite reminders 'StanHeaders' requires at least C++11 Uses 'Rscript --vanilla' to find 'StanHeaders' (and often fails)
  • 0.0.1
    record
    2018-09-30
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-09-30
Total releases
8 / 8 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
2.3 KB / 5 files
Download size
110 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MetaStan")
Guenhan, B. K., Columbia University, T. o., & Roever, C. (2022). MetaStan: Bayesian Meta-Analysis via 'Stan' (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.MetaStan

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

From data release v2026-10-25, 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