{
  "_id": "6a5a799e09eb0996dd690dd5",
  "Package": "flexstanr",
  "Title": "Portable Backend Layer for 'Stan' Models",
  "Version": "0.1.0",
  "Authors@R": "c(person(\"Carl\", \"Pearson\", email = \"carl.ab.pearson@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0701-7860\")),\nperson(\"Weston\", \"Voglesonger\", email = \"westonvogle@gmail.com\", role = \"aut\"))",
  "Description": "Gives a 'Stan'-based R package one interface for fitting\nits models through either 'rstan' or (optionally) 'cmdstanr'.\nCollects and validates sampler options, guarding against mixing\none backend's argument vocabulary into the other, dispatches\nthe fit to the chosen backend, and exposes backend-agnostic\naccessors for reading posterior draws, extracting parameters,\nand running generated quantities. The host package supplies its\nown compiled models; flexstanr resolves them from the calling\npackage at run time, so the same code works whichever backend\nis installed.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "Config/testthat/edition": "3",
  "URL": "https://accidda.github.io/flexstanr/,\nhttps://github.com/ACCIDDA/flexstanr",
  "BugReports": "https://github.com/ACCIDDA/flexstanr/issues",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-17 18:46:36 UTC",
    "User": "root"
  },
  "Author": "Carl Pearson [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0701-7860>), Weston Voglesonger\n[aut]",
  "Maintainer": "Carl Pearson <carl.ab.pearson@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-17 14:20:08 UTC",
  "RemoteUrl": "https://github.com/cran/flexstanr",
  "RemoteRef": "HEAD",
  "RemoteSha": "b1a50bb8019c4806911963de16b3b6dc2f503530",
  "_user": "cran",
  "_type": "src",
  "_file": "flexstanr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e19bec6f73d6babb12907963f97b0272206e80c3135d50b98242493e98dd50ea",
  "_filesize": 127183,
  "_sha256": "e19bec6f73d6babb12907963f97b0272206e80c3135d50b98242493e98dd50ea",
  "_expires": "2026-10-25T18:51:08.000Z",
  "_created": "2026-07-17T18:46:36.000Z",
  "_published": "2026-07-17T18:51:10.984Z",
  "_jobs": [
    {
      "job": 87966302487,
      "time": 229,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8416605763"
    },
    {
      "job": 87966302510,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8416607799"
    },
    {
      "job": 87965527136,
      "time": 229,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8416516331"
    },
    {
      "job": 87966302498,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8416583891"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29604825262",
  "_status": "success",
  "_upstream": "https://github.com/cran/flexstanr",
  "_commit": {
    "id": "b1a50bb8019c4806911963de16b3b6dc2f503530",
    "author": "Carl Pearson <carl.ab.pearson@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1784298008
  },
  "_maintainer": {
    "name": "Carl Pearson",
    "email": "carl.ab.pearson@gmail.com",
    "login": "pearsonca",
    "orcid": "0000-0003-0701-7860",
    "description": "STEM researcher.",
    "uuid": 1828039
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "desc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pearsonca",
      "count": 1,
      "uuid": 1828039
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 620,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flexstanr"
  },
  "_devurl": "https://github.com/accidda/flexstanr",
  "_pkgdown": "https://accidda.github.io/flexstanr/",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flexstanr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-17"
    }
  ],
  "_exports": [
    "backend_draws_array",
    "backend_extract",
    "backend_generate_quantities",
    "backend_has_draws",
    "fit_model",
    "stan_options",
    "use_flexstanr"
  ],
  "_help": [
    {
      "page": "backend_draws_array",
      "title": "Posterior draws of a fit as an iterations x chains x parameters array",
      "topics": [
        "backend_draws_array"
      ]
    },
    {
      "page": "backend_extract",
      "title": "Extract named parameters from a fit as a list of arrays",
      "topics": [
        "backend_extract"
      ]
    },
    {
      "page": "backend_generate_quantities",
      "title": "Run generated quantities against a fit and return a parameter matrix",
      "topics": [
        "backend_generate_quantities"
      ]
    },
    {
      "page": "backend_has_draws",
      "title": "Does a fit object carry usable posterior draws?",
      "topics": [
        "backend_has_draws"
      ]
    },
    {
      "page": "fit_model",
      "title": "Fit a Stan model through the chosen backend",
      "topics": [
        "fit_model"
      ]
    },
    {
      "page": "stan_options",
      "title": "Stan Sampler Options",
      "topics": [
        "stan_options"
      ]
    },
    {
      "page": "use_flexstanr",
      "title": "Wire flexstanr into a host package",
      "topics": [
        "use_flexstanr"
      ]
    }
  ],
  "_readme": "https://github.com/cran/flexstanr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with flexstanr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Wiring it into your package",
        "Building sampler options",
        "Fitting a model",
        "Reading a fit",
        "Choosing cmdstanr"
      ],
      "created": "2026-07-17 14:20:08",
      "modified": "2026-07-17 14:20:08",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "flexstanr",
  "_universes": [
    "cran",
    "pearsonca",
    "accidda"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-17T18:49:30.000Z",
      "distro": "resolute",
      "commit": "b1a50bb8019c4806911963de16b3b6dc2f503530",
      "fileid": "https://r2.ropensci.org/e296b66a9fb2f85cace4b1c505ff6eb45b6d2280e0ae473f0d1569b79e4a6a9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29604825262"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-17T18:49:31.000Z",
      "distro": "resolute",
      "commit": "b1a50bb8019c4806911963de16b3b6dc2f503530",
      "fileid": "https://r2.ropensci.org/5d3ee1873cd5a31196a496243ee13594ffd54d1df4210d691c594745baba07cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29604825262"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-17T18:49:46.000Z",
      "commit": "b1a50bb8019c4806911963de16b3b6dc2f503530",
      "fileid": "https://r2.ropensci.org/b6ad57b95906eb2a83fbfb352c6f691ba43b40c43e978660bc4e441acd6c0860",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29604825262"
    }
  ]
}