{
  "_id": "6a202b1bcd65a98ecbd0aad8",
  "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",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "make",
  "Repository": "https://stan-dev.r-universe.dev",
  "Date/Publication": "2026-06-03 11:32:30 UTC",
  "RemoteUrl": "https://github.com/stan-dev/rstantools",
  "RemoteRef": "HEAD",
  "RemoteSha": "50abff96c33d06066c05572c9fe341ba0dc08908",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 13:21:21 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>",
  "MD5sum": "a5710ca411018c12aa1f099b941021a5",
  "_user": "stan-dev",
  "_type": "src",
  "_file": "rstantools_2.6.0.9000.tar.gz",
  "_fileid": "b0f55ee8477877e6d885feec9767e320d14c562c6ca7110ce08ca87d1318d0ff",
  "_filesize": 258726,
  "_sha256": "b0f55ee8477877e6d885feec9767e320d14c562c6ca7110ce08ca87d1318d0ff",
  "_created": "2026-06-03T13:21:21.000Z",
  "_published": "2026-06-03T13:24:43.049Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79304028740,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7385830566"
    },
    {
      "job": 79304029119,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385824715"
    },
    {
      "job": 79304028908,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7385801781"
    },
    {
      "job": 79304029071,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385811536"
    },
    {
      "job": 79303308030,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385764614"
    },
    {
      "job": 79304028869,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385827082"
    },
    {
      "job": 79304029118,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7385812703"
    },
    {
      "job": 79304028900,
      "time": 108,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7385810965"
    },
    {
      "job": 79304028899,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385821237"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stan-dev/rstantools",
  "_commit": {
    "id": "50abff96c33d06066c05572c9fe341ba0dc08908",
    "author": "Jonah Gabry <jgabry@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #152 from florence-bockting/add-ai-policy\n\nAdd AI contribution policy",
    "time": 1780486350
  },
  "_maintainer": {
    "name": "Jonah Gabry",
    "email": "jgabry@gmail.com",
    "login": "jgabry",
    "description": "Statistician and Stan developer",
    "uuid": 7796803
  },
  "_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": "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": ">= 6.0.1",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    }
  ],
  "_owner": "stan-dev",
  "_selfowned": true,
  "_usedby": 232,
  "_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
    }
  ],
  "_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": 279,
      "uuid": 7796803
    },
    {
      "user": "mlysy",
      "count": 75,
      "uuid": 10173557
    },
    {
      "user": "andrjohns",
      "count": 40,
      "uuid": 27717896
    },
    {
      "user": "bgoodri",
      "count": 34,
      "uuid": 3386282
    },
    {
      "user": "visruthsk",
      "count": 20,
      "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"
  },
  "_downloads": {
    "count": 194689,
    "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": 171,
  "_rbuild": "4.6.0",
  "_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": "2025-12-09 17:39:19",
      "commits": 26
    }
  ],
  "_score": 14.30146050689709,
  "_indexed": true,
  "_nocasepkg": "rstantools",
  "_universes": [
    "stan-dev",
    "jgabry"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:24:02.000Z",
      "distro": "noble",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "18a4f061d9e9583213fe7719a0ade046b9f9d14693fb32ab145cce13cfebbfec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:23:50.000Z",
      "distro": "noble",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "98aed13f1af409b096153ba835bbc7b6f7ef4c436fa63a6ff86c7949d615cbf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:22:56.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "c7b1cfa2f9197c2d5e22ab9c204e9d77cbb2d5d2cea7149f034ed4bac5b758ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:23:19.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "663aab2e86d3cb24f102409d9e64dcbc19feed592df140d55004e945e0fa1757",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:24:10.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "c0f9bdf3b44dbd184d6bf5efa535a284287e9b7deab2a3d3bfa9087a31c1e1c9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:23:13.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "e3b9ec1219efd5f6df0677272121e0c6d7a9f01d3e9711bc087094722111de79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:23:06.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "25933849b8f6f3e8ee0091685103df4e1aab5270d1d640bb5eb3e7bd2d8d663d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-06-03T13:23:35.000Z",
      "commit": "50abff96c33d06066c05572c9fe341ba0dc08908",
      "fileid": "c19915971b0e4e563e8a2cff5bc48bb2ca2c2839ae22ff875b914c75006e3552",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887333713"
    }
  ]
}