Package: flexstanr Title: Portable Backend Layer for 'Stan' Models Version: 0.2.0.9000 Authors@R: c(person("Carl", "Pearson", email = "carl.ab.pearson@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0701-7860")), person("Weston", "Voglesonger", email = "westonvogle@gmail.com", role = "aut")) Description: Gives a 'Stan'-based R package one interface for fitting its models through either 'rstan' or 'cmdstanr', neither of which is required to install this package (install whichever you use). 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, reporting convergence and sampler diagnostics, 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. License: MIT + file LICENSE Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Depends: R (>= 4.1.0) Imports: methods, parallelly, tools Suggests: cmdstanr (>= 0.5.0), desc, knitr, pkgload, posterior, rmarkdown, roxygen2, rstan (>= 2.18.1), spelling, testthat (>= 3.2.0), withr VignetteBuilder: knitr Additional_repositories: https://stan-dev.r-universe.dev Remotes: stan-dev/cmdstanr Config/testthat/edition: 3 URL: https://accidda.github.io/flexstanr/, https://github.com/ACCIDDA/flexstanr BugReports: https://github.com/ACCIDDA/flexstanr/issues Repository: https://accidda.r-universe.dev Date/Publication: 2026-10-13 05:10:09 UTC RemoteUrl: https://github.com/accidda/flexstanr RemoteRef: HEAD RemoteSha: 5505d17dadfeb49a6a1713c90b67d3c90d51635b NeedsCompilation: no Packaged: 2026-10-13 12:19:54 UTC; root Author: Carl Pearson [aut, cre] (ORCID: ), Weston Voglesonger [aut] Maintainer: Carl Pearson