{
  "_id": "6a5e77199baadeef8ab577ae",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "Remotes": [
    "stan-dev/cmdstanr"
  ],
  "Config/testthat/edition": "3",
  "URL": "https://accidda.github.io/flexstanr/,\nhttps://github.com/ACCIDDA/flexstanr",
  "BugReports": "https://github.com/ACCIDDA/flexstanr/issues",
  "Config/pak/sysreqs": "make",
  "Repository": "https://accidda.r-universe.dev",
  "Date/Publication": "2026-07-20 17:55:02 UTC",
  "RemoteUrl": "https://github.com/accidda/flexstanr",
  "RemoteRef": "HEAD",
  "RemoteSha": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-20 19:24:17 UTC",
    "User": "root"
  },
  "Author": "Carl Pearson [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0701-7860>),\nWeston Voglesonger [aut]",
  "Maintainer": "Carl Pearson <carl.ab.pearson@gmail.com>",
  "_user": "accidda",
  "_type": "src",
  "_file": "flexstanr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/807752cd5635a50c870f4c8f9fdcd940c228bc404a758c31695d297d78155a7c",
  "_filesize": 75122,
  "_sha256": "807752cd5635a50c870f4c8f9fdcd940c228bc404a758c31695d297d78155a7c",
  "_expires": "2026-10-28T19:29:27.000Z",
  "_created": "2026-07-20T19:24:17.000Z",
  "_published": "2026-07-20T19:29:29.717Z",
  "_jobs": [
    {
      "job": 88451757893,
      "time": 267,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8473180796"
    },
    {
      "job": 88451757917,
      "time": 264,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8473179301"
    },
    {
      "job": 88451757973,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8473157794"
    },
    {
      "job": 88451757938,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8473141339"
    },
    {
      "job": 88450412648,
      "time": 348,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8473060663"
    },
    {
      "job": 88451757920,
      "time": 263,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8473178451"
    },
    {
      "job": 88451757976,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8473108368"
    },
    {
      "job": 88451757964,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8473113151"
    },
    {
      "job": 88451757961,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8473108301"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386",
  "_status": "success",
  "_upstream": "https://github.com/accidda/flexstanr",
  "_commit": {
    "id": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
    "author": "Weston Voglesonger <69158595+WestonVoglesonger@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "use_flexstanr(): generate the host re-export file + fixture-package export test (#26, #27) (#28)\n\n* use_flexstanr(): generate the host re-export file (#26); test via fixture package (#27)\n\nExtends use_flexstanr() beyond DESCRIPTION editing: it now writes a generated\nR/flexstanr.R into the host package, carrying a 'Generated by flexstanr: do not\nedit by hand' banner. The file imports flexstanr's backend entry points for the\nhost's internal use and re-exports stan_options (dplyr-style bare reexport) so\nhost::stan_options() keeps resolving. The consumer-facing surface is defined once\nin flexstanr so the generated file stays in lockstep with the public API; re-run\nuse_flexstanr() to regenerate. New reexport / reexport_file args, default TRUE.\n\nTests (#27) add a throwaway fixture package that runs the generator, roxygenises\nit, loads it, and asserts fixturepkg::stan_options is identical to\nflexstanr::stan_options, i.e. the generated file actually exports. Adds roxygen2\nand pkgload to Suggests for that test, and WORDLIST entries for the new prose.\n\n* use_flexstanr(): mirror use_package() signature (min_version/remote, NULL defaults)\n\nAddress Carl's review on #28: drop the on_cran boolean and normal-vs-dev\nsplit in favour of a use_package()-style signature.\n\n- min_version (NULL default) pins to the currently-installed flexstanr\n  version; a string pins explicitly; FALSE drops the constraint.\n- remote (NULL default) records no Remotes entry (the CRAN case); pass\n  owner/repo for an off-CRAN development install.\n- add type = \"Imports\" to match use_package(); the Remotes block is now\n  vestigial unless a remote is requested.",
    "time": 1784570102
  },
  "_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": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "accidda",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 7
    },
    {
      "week": "2026-28",
      "n": 9
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "westonvoglesonger",
      "count": 17,
      "uuid": 69158595
    }
  ],
  "_userbio": {
    "uuid": 165699822,
    "type": "organization",
    "name": "Atlantic Coast Center for Infectious Disease Dynamics and Analytics",
    "followers": 22
  },
  "_downloads": {
    "count": 46,
    "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"
  ],
  "_homeurl": "https://github.com/accidda/flexstanr",
  "_realowner": "accidda",
  "_cranurl": true,
  "_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": [],
  "_readme": "https://github.com/accidda/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-08 15:59:57",
      "modified": "2026-07-08 15:59:57",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "flexstanr",
  "_universes": [
    "accidda",
    "pearsonca"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-20T19:28:33.000Z",
      "distro": "resolute",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/4dd39c05868b4c4a3c75d09fccd37d41cc67371e7c1c6eb9cd6a42059883bdb2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-20T19:28:31.000Z",
      "distro": "resolute",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/fcb3e045462b54612b49f5b6fb8548f6ce8041b47dc86f07d7b5ef7de3c83715",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-20T19:27:38.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/91ee47bfd6ef1154eed5aecc446d484d01606e87d07be92f5a901fe96687fa88",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-20T19:27:09.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/3371f1cd5cae1ac560e3080a3117a3a1837c756148c5f790bea65a598b63a3d5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-20T19:28:59.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/32f9eee58516b0fcf79a4921fcc54dd58620f5196b3d3de4330d96687c3e160c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-20T19:25:51.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/b2b12ee4db6f77782abc726f80114545b78ad890ef2837dc287c48baeabdb946",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-20T19:25:51.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/0237f3ffbcdca04bbf51f220a5a876ae7db4a6dbf86ea0b7e73d6d5fc2d2ff4a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-20T19:25:46.000Z",
      "commit": "d2cd3c677852a6a905d0133665eea48aaaeaaa19",
      "fileid": "https://r2.ropensci.org/c46d32c190e2c1429c4398cdb3deea95a14e941f7834db81287ed2569f4762ba",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/accidda/actions/runs/29771442386"
    }
  ]
}