Skip to content

flexstanr

0.1.0

Portable Backend Layer for 'Stan' Models

0packages depend
160downloads / year
75.2%test coverage
12/13checks pass

Overview

About
Maintained by Carl PearsonFirst published 2026-07-171 releasesCRAN page ↗GitHub ↗

Gives a 'Stan'-based R package one interface for fitting its models through either 'rstan' or (optionally) 'cmdstanr'. Collects and validates sampler options, guarding against mixing one backend's argument vocabulary into the other, dispatches the fit to the chosen backend, and exposes backend-agnostic accessors for reading posterior draws, extracting parameters, and running generated quantities. The host package supplies its own compiled models; flexstanr resolves them from the calling package at run time, so the same code works whichever backend is installed.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 4.2 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.34
75.2%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-18
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 291 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
29%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

160
CRAN downloads in the past year
Rank #24,403 · ~0/day · ~13/mo
Daily download trend is not available in this view yet.
16030 days
16090 days
1601 year
Compare downloads with other packages →
Also on4 r2u

Repository

Repository
0Stars
0Forks
2Open issues
0Open PRs
0Releases
Last activity 2026-07-29

Issues over time

2026-07-18 · 42026-08-01 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/accidda/flexstanr on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (3)
methodsrstantools
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-17 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-17
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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