{
  "_id": "6a5e58ad9baadeef8ab57541",
  "Package": "rstantools",
  "Type": "Package",
  "Title": "Tools for Developing R Packages Interfacing with 'Stan'",
  "Version": "2.6.0.9000",
  "Date": "2026-01-10",
  "Authors@R": "c(person(given = \"Jonah\",\nfamily = \"Gabry\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jgabry@gmail.com\"),\nperson(given = \"Ben\",\nfamily = \"Goodrich\",\nrole = \"aut\",\nemail = \"benjamin.goodrich@columbia.edu\"),\nperson(given = \"Martin\",\nfamily = \"Lysy\",\nrole = \"aut\",\nemail = \"mlysy@uwaterloo.ca\"),\nperson(given = \"Andrew\",\nfamily = \"Johnson\",\nrole = \"aut\"),\nperson(given = \"Hamada S.\",\nfamily = \"Badr\",\nrole = \"ctb\"),\nperson(given = \"Marco\",\nfamily = \"Colombo\",\nrole = \"ctb\"),\nperson(given = \"Stefan\",\nfamily = \"Siegert\",\nrole = \"ctb\"),\nperson(given = \"Visruth\",\nfamily = \"Srimath Kandali\",\nrole = \"ctb\"),\nperson(given = \"Trustees of\",\nfamily = \"Columbia University\",\nrole = \"cph\"))",
  "Description": "Provides various tools for developers of R packages\ninterfacing with 'Stan' <https://mc-stan.org>, including\nfunctions to set up the required package structure, S3 generics\nand default methods to unify function naming across\n'Stan'-based R packages, and vignettes with recommendations for\ndevelopers.",
  "License": "GPL (>=3)",
  "URL": "https://mc-stan.org/rstantools/, https://discourse.mc-stan.org/",
  "BugReports": "https://github.com/stan-dev/rstantools/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "pandoc",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make",
  "Repository": "https://stan-dev.r-universe.dev",
  "Date/Publication": "2026-07-20 16:51:33 UTC",
  "RemoteUrl": "https://github.com/stan-dev/rstantools",
  "RemoteRef": "HEAD",
  "RemoteSha": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-20 17:16:10 UTC",
    "User": "root"
  },
  "Author": "Jonah Gabry [aut, cre],\nBen Goodrich [aut],\nMartin Lysy [aut],\nAndrew Johnson [aut],\nHamada S. Badr [ctb],\nMarco Colombo [ctb],\nStefan Siegert [ctb],\nVisruth Srimath Kandali [ctb],\nTrustees of Columbia University [cph]",
  "Maintainer": "Jonah Gabry <jgabry@gmail.com>",
  "_user": "stan-dev",
  "_type": "src",
  "_file": "rstantools_2.6.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5b1cb2c518a40c67ffe4d57ec5179bb2ee18e7b6602461a6fef22280bf530fd4",
  "_filesize": 259124,
  "_sha256": "5b1cb2c518a40c67ffe4d57ec5179bb2ee18e7b6602461a6fef22280bf530fd4",
  "_expires": "2026-10-28T17:19:39.000Z",
  "_created": "2026-07-20T17:16:10.000Z",
  "_published": "2026-07-20T17:19:40.963Z",
  "_jobs": [
    {
      "job": 88422177316,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8469660825"
    },
    {
      "job": 88422177312,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8469660493"
    },
    {
      "job": 88422177389,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8469639174"
    },
    {
      "job": 88422177344,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8469621873"
    },
    {
      "job": 88421348442,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8469587624"
    },
    {
      "job": 88422177423,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 88422177366,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8469631664"
    },
    {
      "job": 88422177346,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8469630155"
    },
    {
      "job": 88422177319,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8469633392"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988",
  "_status": "success",
  "_upstream": "https://github.com/stan-dev/rstantools",
  "_commit": {
    "id": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
    "author": "Jonah Gabry <jgabry@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #156 from stan-dev/fix-pkgdown\n\nFix pkgdown issues",
    "time": 1784566293
  },
  "_maintainer": {
    "name": "Jonah Gabry",
    "email": "jgabry@gmail.com",
    "login": "jgabry",
    "description": "Statistician and Stan developer",
    "uuid": 7796803
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "desc",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.16",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.17.2",
      "role": "Suggests"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "Suggests"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "version": ">= 1.5.1",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgbuild",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "version": ">= 7.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    }
  ],
  "_owner": "stan-dev",
  "_selfowned": true,
  "_usedby": 242,
  "_updates": [
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2026-01",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.5.0",
      "date": "2025-08-31"
    },
    {
      "name": "v2.6.0",
      "date": "2026-01-10"
    }
  ],
  "_topics": [
    "bayesian-data-analysis",
    "bayesian-statistics",
    "developer-tools",
    "stan"
  ],
  "_stars": 48,
  "_contributors": [
    {
      "user": "jgabry",
      "count": 282,
      "uuid": 7796803
    },
    {
      "user": "mlysy",
      "count": 75,
      "uuid": 10173557
    },
    {
      "user": "andrjohns",
      "count": 40,
      "uuid": 27717896
    },
    {
      "user": "bgoodri",
      "count": 34,
      "uuid": 3386282
    },
    {
      "user": "visruthsk",
      "count": 23,
      "uuid": 67435125
    },
    {
      "user": "mcol",
      "count": 8,
      "uuid": 6078177
    },
    {
      "user": "teemusailynoja",
      "count": 5,
      "uuid": 33978952
    },
    {
      "user": "avehtari",
      "count": 3,
      "uuid": 6705400
    },
    {
      "user": "karchjd",
      "count": 2,
      "uuid": 8561155
    },
    {
      "user": "kleinschmidt",
      "count": 1,
      "uuid": 135920
    },
    {
      "user": "hsbadr",
      "count": 1,
      "uuid": 7604200
    },
    {
      "user": "mikekaminsky",
      "count": 1,
      "uuid": 5394529
    },
    {
      "user": "mansmeg",
      "count": 1,
      "uuid": 2458198
    },
    {
      "user": "ndunnewind",
      "count": 1,
      "uuid": 43117768
    },
    {
      "user": "paul-buerkner",
      "count": 1,
      "uuid": 12938496
    },
    {
      "user": "raerickson",
      "count": 1,
      "uuid": 11819537
    },
    {
      "user": "sieste",
      "count": 1,
      "uuid": 3732635
    },
    {
      "user": "jeffeaton",
      "count": 1,
      "uuid": 7427899
    },
    {
      "user": "ecmerkle",
      "count": 1,
      "uuid": 4818626
    }
  ],
  "_userbio": {
    "uuid": 3374820,
    "type": "organization",
    "name": "Stan",
    "followers": 542
  },
  "_downloads": {
    "count": 320117,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstantools"
  },
  "_devurl": "https://github.com/stan-dev/rstantools",
  "_pkgdown": "https://mc-stan.org/rstantools/",
  "_searchresults": 193,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rstantools.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stan-dev/rstantools",
  "_realowner": "stan-dev",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2016-11-20"
    },
    {
      "version": "1.1.0",
      "date": "2016-12-20"
    },
    {
      "version": "1.2.0",
      "date": "2017-03-17"
    },
    {
      "version": "1.3.0",
      "date": "2017-08-02"
    },
    {
      "version": "1.4.0",
      "date": "2017-12-21"
    },
    {
      "version": "1.5.0",
      "date": "2018-04-17"
    },
    {
      "version": "1.5.1",
      "date": "2018-08-22"
    },
    {
      "version": "2.0.0",
      "date": "2019-09-15"
    },
    {
      "version": "2.1.0",
      "date": "2020-06-01"
    },
    {
      "version": "2.1.1",
      "date": "2020-07-06"
    },
    {
      "version": "2.2.0",
      "date": "2022-04-08"
    },
    {
      "version": "2.3.0",
      "date": "2023-03-09"
    },
    {
      "version": "2.3.1",
      "date": "2023-03-30"
    },
    {
      "version": "2.3.1.1",
      "date": "2023-07-18"
    },
    {
      "version": "2.4.0",
      "date": "2024-01-31"
    },
    {
      "version": "2.5.0",
      "date": "2025-09-01"
    },
    {
      "version": "2.6.0",
      "date": "2026-01-10"
    }
  ],
  "_exports": [
    "bayes_R2",
    "init_cpp",
    "log_lik",
    "loo_epred",
    "loo_linpred",
    "loo_pit",
    "loo_predict",
    "loo_predictive_interval",
    "loo_R2",
    "nsamples",
    "posterior_epred",
    "posterior_interval",
    "posterior_linpred",
    "posterior_predict",
    "predictive_error",
    "predictive_interval",
    "prior_summary",
    "rstan_config",
    "rstan_create_package",
    "rstantools_load_code",
    "use_rstan"
  ],
  "_help": [
    {
      "page": "rstantools-package",
      "title": "Tools for Developing R Packages Interfacing with Stan",
      "topics": [
        "rstantools-package",
        "rstantools"
      ]
    },
    {
      "page": "bayes_R2",
      "title": "Generic function and default method for Bayesian R-squared",
      "topics": [
        "bayes_R2",
        "bayes_R2.default",
        "loo_R2"
      ]
    },
    {
      "page": "log_lik",
      "title": "Generic function for pointwise log-likelihood",
      "topics": [
        "log_lik"
      ]
    },
    {
      "page": "loo-prediction",
      "title": "Generic functions for LOO predictions",
      "topics": [
        "loo-prediction",
        "loo_epred",
        "loo_linpred",
        "loo_pit",
        "loo_pit.default",
        "loo_predict",
        "loo_predictive_interval"
      ]
    },
    {
      "page": "posterior_epred",
      "title": "Generic function for accessing the posterior distribution of the conditional expectation",
      "topics": [
        "posterior_epred"
      ]
    },
    {
      "page": "posterior_interval",
      "title": "Generic function and default method for posterior uncertainty intervals",
      "topics": [
        "posterior_interval",
        "posterior_interval.default"
      ]
    },
    {
      "page": "posterior_linpred",
      "title": "Generic function for accessing the posterior distribution of the linear predictor",
      "topics": [
        "posterior_linpred"
      ]
    },
    {
      "page": "posterior_predict",
      "title": "Generic function for drawing from the posterior predictive distribution",
      "topics": [
        "posterior_predict"
      ]
    },
    {
      "page": "predictive_error",
      "title": "Generic function and default method for predictive errors",
      "topics": [
        "predictive_error",
        "predictive_error.default"
      ]
    },
    {
      "page": "predictive_interval",
      "title": "Generic function for predictive intervals",
      "topics": [
        "predictive_interval",
        "predictive_interval.default"
      ]
    },
    {
      "page": "prior_summary",
      "title": "Generic function for extracting information about prior distributions",
      "topics": [
        "prior_summary",
        "prior_summary.default"
      ]
    },
    {
      "page": "rstan_config",
      "title": "Configure system files for compiling Stan source code",
      "topics": [
        "rstan_config"
      ]
    },
    {
      "page": "rstan_create_package",
      "title": "Create a new R package with compiled Stan programs",
      "topics": [
        "rstan_create_package",
        "rstan_package_skeleton"
      ]
    },
    {
      "page": "rstantools_load_code",
      "title": "Helper function for loading code in roxygenise",
      "topics": [
        "rstantools_load_code"
      ]
    },
    {
      "page": "use_rstan",
      "title": "Add Stan infrastructure to an existing package",
      "topics": [
        "use_rstan"
      ]
    }
  ],
  "_pkglogo": "https://github.com/stan-dev/rstantools/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/stan-dev/rstantools/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "desc",
    "R6",
    "Rcpp",
    "RcppParallel"
  ],
  "_vignettes": [
    {
      "source": "developer-guidelines.Rmd",
      "filename": "developer-guidelines.html",
      "title": "Guidelines for Developers of R Packages Interfacing with Stan",
      "author": "Stan Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Note to developers",
        "Guidelines for R packages providing interfaces to Stan",
        "General package structure and development",
        "Stan code",
        "R code and documentation",
        "Recommended resources"
      ],
      "created": "2016-10-28 20:38:30",
      "modified": "2022-03-23 19:10:25",
      "commits": 21
    },
    {
      "source": "minimal-rstan-package.Rmd",
      "filename": "minimal-rstan-package.html",
      "title": "Step by step guide for creating a package that depends on RStan",
      "author": "Stefan Siegert, Jonah Gabry, Martin Lysy, and Ben Goodrich",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating the package skeleton",
        "Read-and-delete-me file",
        "Stan files",
        "R files",
        "Documentation",
        "Install and use",
        "Advanced options",
        "Adding additional Stan models to an existing R package with Stan models",
        "Links"
      ],
      "created": "2018-04-09 22:26:56",
      "modified": "2026-07-20 16:51:33",
      "commits": 27
    }
  ],
  "_score": 14.667497656452712,
  "_indexed": true,
  "_nocasepkg": "rstantools",
  "_universes": [
    "stan-dev",
    "jgabry"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.6.0.9000",
      "date": "2026-06-24T18:40:28.000Z",
      "commit": "9a32cc53d85000a0c25dfa741014524c478a30d7",
      "fileid": "https://r2.ropensci.org/56d3570f1c2a4208f563adaf13fc43744d878b01b27276ef5cd574fac0bcd5da",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/28120949155"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:18:56.000Z",
      "distro": "resolute",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/af2c7d512486681cf95b47f09d05f82b68cd79948abedc079209cbf059cd75bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:18:50.000Z",
      "distro": "resolute",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/45f4f8319f04fa84428037761ee04c2d6ad9fdc3b3af154c678e917cf8b2d7a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:18:08.000Z",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/dd177dc62e1099be444512ab9bfc121610c195623f7aab7fa2a6da5e2ea2f07e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:17:30.000Z",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/ee641bb6065ec729b68aede1234802326dde4bf779e255241a0b9e84c75345c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:17:42.000Z",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/ab45695b8e24a41ddbf34e1d9c00567c9a1f93504497d7a615b5a0db965219bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:17:38.000Z",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/5a28878ec833c0f5da15e0e12934b872e6b8519fb7a729f1ab0f47aafa542b02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-07-20T17:17:46.000Z",
      "commit": "b4029289a25b7045b7382c7a6481c46e8ab73d71",
      "fileid": "https://r2.ropensci.org/4a36c9728327eba0598b251d08cf0f58ceb7522e10b81a0d844c15101f604278",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29762767988"
    }
  ]
}