Skip to content

adjustr

0.2.0Package record

Stan Model Adjustments and Sensitivity Analyses using Importance Sampling

0packages depend
1.9Kdownloads / year
89.7%test coverage
13/13flavors OK

Overview

About

Assess the sensitivity of a Bayesian model (fitted using 'Stan' via 'rstan', 'brms', or 'cmdstanr') to the specification of its likelihood and priors. Users provide a series of alternate sampling specifications, and the package uses Pareto-smoothed importance sampling (PSIS) to estimate posterior quantities of interest under each specification, without needing to refit the model. Methods are based on Vehtari, Simpson, Gelman, Yao, and Gabry (2024) doi:10.48550/arXiv.1507.02646.

Changes in 0.2.0
  • First CRAN submission.
  • Replaced fragile regex-based Stan model parser with a robust token-based parser. Supports modern Stan syntax including the array[] declaration style, new constrained types (sum_to_zero_vector, etc.), and target += statements with _lupdf/_lupmf suffixes.
  • Expanded test suite from 108 to 197 tests, covering parsing, log probability calculations, specification creation, weight computation, and summary functions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK8 OK2026-05-30
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 366 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown
Help pages
11 (2 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
9%

Downloads

1.9K
CRAN downloads in the past year
Rank #9,861 · ~5/day · ~158/mo
Daily download trend is not available in this view yet.
36730 days
1K90 days
1.9K1 year
Compare downloads with other packages →
Also on35 r2u18 autocran

Repository

11Stars
0Forks
0Open issues
0Open PRs
5Releases
43Commits
1Commit identities
43 commits · Last activity 2026-05-29 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
43
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2024-12-31 · 102026-07-07 · 11
PracticesBeta

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

Checks run against github.com/corymccartan/adjustr on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-05-29 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing adjustr adds 49 packages (24 with compiled code, 44 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.

Depends (2)
R >= 3.6.0dplyr
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2026), Copyright holder
Releases (1)
  • 0.2.0Latest
    2026-05-29 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-29
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Bundled data
38 KB / 1 file
Download size
369 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("adjustr")
McCartan, C. (2026). adjustr: Stan Model Adjustments and Sensitivity Analyses using Importance Sampling (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.adjustr

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

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