{
  "_id": "69d4c27c10581d1350db9dd0",
  "Package": "cmdstanr",
  "Title": "R Interface to 'CmdStan'",
  "Version": "0.9.0",
  "Date": "2025-03-30",
  "Authors@R": "c(person(given = \"Jonah\", family = \"Gabry\", role = \"aut\",\nemail = \"jsg2201@columbia.edu\"),\nperson(given = \"Rok\", family = \"Češnovar\", role = \"aut\",\nemail = \"rok.cesnovar@fri.uni-lj.si\"),\nperson(given = \"Andrew\", family = \"Johnson\", role = c(\"aut\", \"cre\"),\nemail = \"andrew.johnson@arjohnsonau.com\",\ncomment = c(ORCID = \"0000-0001-7000-8065\")),\nperson(given = \"Steve\", family = \"Bronder\", role = \"aut\"),\nperson(given = \"Ben\", family = \"Bales\", role = \"ctb\"),\nperson(given = \"Mitzi\", family = \"Morris\", role = \"ctb\"),\nperson(given = \"Mikhail\", family = \"Popov\", role = \"ctb\"),\nperson(given = \"Mike\", family = \"Lawrence\", role = \"ctb\"),\nperson(given = c(\"William\", \"Michael\"), family = \"Landau\", role = \"ctb\",\nemail = \"will.landau@gmail.com\", comment = c(ORCID = \"0000-0003-1878-3253\")),\nperson(given = \"Jacob\", family = \"Socolar\", role = \"ctb\"),\nperson(given = \"Martin\", family = \"Modrák\", role = \"ctb\"),\nperson(given = \"Ven\", family = \"Popov\", role = \"ctb\")\n)",
  "Description": "A lightweight interface to 'Stan' <https://mc-stan.org>.\nThe 'CmdStanR' interface is an alternative to 'RStan' that\ncalls the command line interface for compilation and running\nalgorithms instead of interfacing with C++ via 'Rcpp'. This has\nmany benefits including always being compatible with the latest\nversion of Stan, fewer installation errors, fewer unexpected\ncrashes in RStudio, and a more permissive license.",
  "License": "BSD_3_clause + file LICENSE",
  "URL": "https://mc-stan.org/cmdstanr/, https://discourse.mc-stan.org",
  "BugReports": "https://github.com/stan-dev/cmdstanr/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE, r6 = FALSE)",
  "SystemRequirements": "CmdStan\n(https://mc-stan.org/users/interfaces/cmdstan)",
  "VignetteBuilder": "knitr",
  "Repository": "https://r-multiverse.r-universe.dev",
  "Date/Publication": "2025-03-30 07:51:22 UTC",
  "RemoteUrl": "https://github.com/stan-dev/cmdstanr",
  "RemoteRef": "v0.9.0",
  "RemoteSha": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-07 08:27:08 UTC",
    "User": "root"
  },
  "Author": "Jonah Gabry [aut],\nRok Češnovar [aut],\nAndrew Johnson [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7000-8065>),\nSteve Bronder [aut],\nBen Bales [ctb],\nMitzi Morris [ctb],\nMikhail Popov [ctb],\nMike Lawrence [ctb],\nWilliam Michael Landau [ctb] (ORCID:\n<https://orcid.org/0000-0003-1878-3253>),\nJacob Socolar [ctb],\nMartin Modrák [ctb],\nVen Popov [ctb]",
  "Maintainer": "Andrew Johnson <andrew.johnson@arjohnsonau.com>",
  "MD5sum": "06b90a85f64ffae5e659448cc2406b55",
  "_user": "r-multiverse",
  "_type": "src",
  "_file": "cmdstanr_0.9.0.tar.gz",
  "_fileid": "10be57966c629b81180a1cdbe3ddd7438bc429b2efcf19fa383ff7edf1319a65",
  "_filesize": 845696,
  "_sha256": "10be57966c629b81180a1cdbe3ddd7438bc429b2efcf19fa383ff7edf1319a65",
  "_created": "2026-04-07T08:27:08.000Z",
  "_published": "2026-04-07T08:38:20.712Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 70210779435,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6301765403"
    },
    {
      "job": 70210779385,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6301759185"
    },
    {
      "job": 70210779369,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6301896037"
    },
    {
      "job": 70210779397,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6301875156"
    },
    {
      "job": 70210319983,
      "time": 206,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6301721970"
    },
    {
      "job": 70210779359,
      "time": 119,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6301754933"
    },
    {
      "job": 70210779437,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6301757138"
    },
    {
      "job": 70210779483,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6301761532"
    },
    {
      "job": 70210779376,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6301756271"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stan-dev/cmdstanr",
  "_commit": {
    "id": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
    "author": "Andrew Johnson <andrew.johnson@arjohnsonau.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1071 from stan-dev/v0.9-release\n\nPrepare items for v0.9.0 release",
    "time": 1743321082
  },
  "_maintainer": {
    "name": "Andrew Johnson",
    "email": "andrew.johnson@arjohnsonau.com",
    "login": "andrjohns",
    "uuid": 27717896,
    "orcid": "0000-0001-7000-8065"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "processx",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "R6",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.7",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.37",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "version": ">= 2.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    }
  ],
  "_owner": "stan-dev",
  "_selfowned": false,
  "_usedby": 9,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayes",
    "bayesian",
    "markov-chain-monte-carlo",
    "maximum-likelihood",
    "mcmc",
    "stan",
    "variational-inference"
  ],
  "_stars": 159,
  "_contributors": [
    {
      "user": "jgabry",
      "count": 1498,
      "uuid": 7796803
    },
    {
      "user": "rok-cesnovar",
      "count": 1411,
      "uuid": 28476796
    },
    {
      "user": "andrjohns",
      "count": 409,
      "uuid": 27717896
    },
    {
      "user": "visruthsk",
      "count": 59,
      "uuid": 67435125
    },
    {
      "user": "stevebronder",
      "count": 49,
      "uuid": 5857231
    },
    {
      "user": "martinmodrak",
      "count": 24,
      "uuid": 9483603
    },
    {
      "user": "katrinabrock",
      "count": 22,
      "uuid": 16126168
    },
    {
      "user": "bbbales2",
      "count": 22,
      "uuid": 4742424
    },
    {
      "user": "avehtari",
      "count": 22,
      "uuid": 6705400
    },
    {
      "user": "jsocolar",
      "count": 20,
      "uuid": 11272480
    },
    {
      "user": "wlandau",
      "count": 12,
      "uuid": 1580860
    },
    {
      "user": "venpopov",
      "count": 10,
      "uuid": 12783882
    },
    {
      "user": "mike-lawrence",
      "count": 9,
      "uuid": 150781
    },
    {
      "user": "sbfnk",
      "count": 7,
      "uuid": 1156307
    },
    {
      "user": "hsbadr",
      "count": 6,
      "uuid": 7604200
    },
    {
      "user": "johnlees",
      "count": 6,
      "uuid": 6331837
    },
    {
      "user": "bearloga",
      "count": 5,
      "uuid": 1807519
    },
    {
      "user": "pearsonca",
      "count": 5,
      "uuid": 1828039
    },
    {
      "user": "paul-buerkner",
      "count": 3,
      "uuid": 12938496
    },
    {
      "user": "gravesti",
      "count": 3,
      "uuid": 83659704
    },
    {
      "user": "adrian-lison",
      "count": 2,
      "uuid": 16266527
    },
    {
      "user": "behramulukir",
      "count": 2,
      "uuid": 63539927
    },
    {
      "user": "mkyhos",
      "count": 2,
      "uuid": 33769439
    },
    {
      "user": "mcol",
      "count": 2,
      "uuid": 6078177
    },
    {
      "user": "weshinsley",
      "count": 2,
      "uuid": 9009312
    },
    {
      "user": "bschneidr",
      "count": 1,
      "uuid": 19809917
    },
    {
      "user": "bob-carpenter",
      "count": 1,
      "uuid": 3383807
    },
    {
      "user": "erictleung",
      "count": 1,
      "uuid": 2754821
    },
    {
      "user": "eipi10",
      "count": 1,
      "uuid": 436817
    },
    {
      "user": "nicokist",
      "count": 1,
      "uuid": 1999102
    },
    {
      "user": "carltra",
      "count": 1,
      "uuid": 69875272
    },
    {
      "user": "williamlai2",
      "count": 1,
      "uuid": 44103957
    },
    {
      "user": "matsuurakentaro",
      "count": 1,
      "uuid": 11885625
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cmdstanr"
  },
  "_devurl": "https://github.com/stan-dev/cmdstanr",
  "_pkgdown": "https://mc-stan.org/cmdstanr/",
  "_searchresults": 8960,
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/cmdstanr.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "as_cmdstan_fit",
    "as_draws",
    "as_mcmc.list",
    "as.CmdStanDiagnose",
    "as.CmdStanGQ",
    "as.CmdStanLaplace",
    "as.CmdStanMCMC",
    "as.CmdStanMLE",
    "as.CmdStanPathfinder",
    "as.CmdStanVB",
    "check_cmdstan_toolchain",
    "cmdstan_default_install_path",
    "cmdstan_default_path",
    "cmdstan_make_local",
    "cmdstan_model",
    "cmdstan_path",
    "cmdstan_version",
    "cmdstanr_example",
    "draws_to_csv",
    "eng_cmdstan",
    "install_cmdstan",
    "num_threads",
    "print_example_program",
    "read_cmdstan_csv",
    "read_sample_csv",
    "rebuild_cmdstan",
    "register_knitr_engine",
    "set_cmdstan_path",
    "set_num_threads",
    "write_stan_file",
    "write_stan_json",
    "write_stan_tempfile"
  ],
  "_help": [
    {
      "page": "cmdstanr-package",
      "title": "CmdStanR: the R interface to CmdStan",
      "topics": [
        "cmdstanr-package",
        "CmdStanR",
        "cmdstanr"
      ]
    },
    {
      "page": "as_draws.CmdStanMCMC",
      "title": "Create a 'draws' object from a CmdStanR fitted model object",
      "topics": [
        "as_draws",
        "as_draws.CmdStanGQ",
        "as_draws.CmdStanLaplace",
        "as_draws.CmdStanMCMC",
        "as_draws.CmdStanMLE",
        "as_draws.CmdStanPathfinder",
        "as_draws.CmdStanVB"
      ]
    },
    {
      "page": "as_mcmc.list",
      "title": "Convert 'CmdStanMCMC' to 'mcmc.list'",
      "topics": [
        "as_mcmc.list"
      ]
    },
    {
      "page": "cmdstan_coercion",
      "title": "Coercion methods for CmdStan objects",
      "topics": [
        "as.CmdStanDiagnose",
        "as.CmdStanGQ",
        "as.CmdStanLaplace",
        "as.CmdStanMCMC",
        "as.CmdStanMLE",
        "as.CmdStanPathfinder",
        "as.CmdStanVB",
        "cmdstan_coercion"
      ]
    },
    {
      "page": "cmdstan_model",
      "title": "Create a new CmdStanModel object",
      "topics": [
        "cmdstan_model"
      ]
    },
    {
      "page": "CmdStanDiagnose",
      "title": "CmdStanDiagnose objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanDiagnose"
      ]
    },
    {
      "page": "CmdStanGQ",
      "title": "CmdStanGQ objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanGQ"
      ]
    },
    {
      "page": "CmdStanLaplace",
      "title": "CmdStanLaplace objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanLaplace"
      ]
    },
    {
      "page": "CmdStanMCMC",
      "title": "CmdStanMCMC objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanMCMC"
      ]
    },
    {
      "page": "CmdStanMLE",
      "title": "CmdStanMLE objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanMLE"
      ]
    },
    {
      "page": "CmdStanModel",
      "title": "CmdStanModel objects",
      "topics": [
        "CmdStanModel"
      ]
    },
    {
      "page": "CmdStanPathfinder",
      "title": "CmdStanPathfinder objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanPathfinder"
      ]
    },
    {
      "page": "cmdstanr_example",
      "title": "Fit models for use in examples",
      "topics": [
        "cmdstanr_example",
        "print_example_program"
      ]
    },
    {
      "page": "cmdstanr_global_options",
      "title": "CmdStanR global options",
      "topics": [
        "cmdstanr_global_options"
      ]
    },
    {
      "page": "CmdStanVB",
      "title": "CmdStanVB objects",
      "concept": [
        "fitted model objects"
      ],
      "topics": [
        "CmdStanVB"
      ]
    },
    {
      "page": "draws_to_csv",
      "title": "Write posterior draws objects to CSV files suitable for running standalone generated quantities with CmdStan.",
      "topics": [
        "draws_to_csv"
      ]
    },
    {
      "page": "eng_cmdstan",
      "title": "CmdStan knitr engine for Stan",
      "topics": [
        "eng_cmdstan"
      ]
    },
    {
      "page": "fit-method-cmdstan_summary",
      "title": "Run CmdStan's 'stansummary' and 'diagnose' utilities",
      "topics": [
        "cmdstan_diagnose",
        "cmdstan_summary",
        "fit-method-cmdstan_diagnose",
        "fit-method-cmdstan_summary"
      ]
    },
    {
      "page": "fit-method-code",
      "title": "Return Stan code",
      "topics": [
        "code",
        "fit-method-code"
      ]
    },
    {
      "page": "fit-method-constrain_variables",
      "title": "Transform a set of unconstrained parameter values to the constrained scale",
      "topics": [
        "constrain_variables",
        "fit-method-constrain_variables"
      ]
    },
    {
      "page": "fit-method-diagnostic_summary",
      "title": "Sampler diagnostic summaries and warnings",
      "topics": [
        "diagnostic_summary",
        "fit-method-diagnostic_summary"
      ]
    },
    {
      "page": "fit-method-draws",
      "title": "Extract posterior draws",
      "topics": [
        "draws",
        "fit-method-draws"
      ]
    },
    {
      "page": "fit-method-grad_log_prob",
      "title": "Calculate the log-probability and the gradient w.r.t. each input for a given vector of unconstrained parameters",
      "topics": [
        "fit-method-grad_log_prob",
        "grad_log_prob"
      ]
    },
    {
      "page": "fit-method-gradients",
      "title": "Extract gradients after diagnostic mode",
      "topics": [
        "fit-method-gradients",
        "gradients"
      ]
    },
    {
      "page": "fit-method-hessian",
      "title": "Calculate the log-probability , the gradient w.r.t. each input, and the hessian for a given vector of unconstrained parameters",
      "topics": [
        "fit-method-hessian",
        "hessian"
      ]
    },
    {
      "page": "fit-method-init",
      "title": "Extract user-specified initial values",
      "topics": [
        "fit-method-init",
        "init"
      ]
    },
    {
      "page": "fit-method-init_model_methods",
      "title": "Compile additional methods for accessing the model log-probability function and parameter constraining and unconstraining.",
      "topics": [
        "fit-method-init_model_methods",
        "init_model_methods"
      ]
    },
    {
      "page": "fit-method-inv_metric",
      "title": "Extract inverse metric (mass matrix) after MCMC",
      "topics": [
        "fit-method-inv_metric",
        "inv_metric"
      ]
    },
    {
      "page": "fit-method-log_prob",
      "title": "Calculate the log-probability given a provided vector of unconstrained parameters.",
      "topics": [
        "fit-method-log_prob",
        "log_prob"
      ]
    },
    {
      "page": "fit-method-loo",
      "title": "Leave-one-out cross-validation (LOO-CV)",
      "topics": [
        "fit-method-loo",
        "loo"
      ]
    },
    {
      "page": "fit-method-lp",
      "title": "Extract log probability (target)",
      "topics": [
        "fit-method-lp",
        "lp",
        "lp_approx"
      ]
    },
    {
      "page": "fit-method-metadata",
      "title": "Extract metadata from CmdStan CSV files",
      "topics": [
        "fit-method-metadata",
        "metadata"
      ]
    },
    {
      "page": "fit-method-mle",
      "title": "Extract point estimate after optimization",
      "topics": [
        "fit-method-mle",
        "mle"
      ]
    },
    {
      "page": "fit-method-num_chains",
      "title": "Extract number of chains after MCMC",
      "topics": [
        "fit-method-num_chains",
        "num_chains"
      ]
    },
    {
      "page": "fit-method-output",
      "title": "Access console output",
      "topics": [
        "fit-method-output",
        "output"
      ]
    },
    {
      "page": "fit-method-profiles",
      "title": "Return profiling data",
      "topics": [
        "fit-method-profiles",
        "profiles"
      ]
    },
    {
      "page": "fit-method-return_codes",
      "title": "Extract return codes from CmdStan",
      "topics": [
        "fit-method-return_codes",
        "return_codes"
      ]
    },
    {
      "page": "fit-method-sampler_diagnostics",
      "title": "Extract sampler diagnostics after MCMC",
      "topics": [
        "fit-method-sampler_diagnostics",
        "sampler_diagnostics"
      ]
    },
    {
      "page": "fit-method-save_object",
      "title": "Save fitted model object to a file",
      "topics": [
        "fit-method-save_object",
        "save_object"
      ]
    },
    {
      "page": "fit-method-save_output_files",
      "title": "Save output and data files",
      "topics": [
        "config_files",
        "data_file",
        "fit-method-data_file",
        "fit-method-latent_dynamics_files",
        "fit-method-output_files",
        "fit-method-profile_files",
        "fit-method-save_config_files",
        "fit-method-save_data_file",
        "fit-method-save_latent_dynamics_files",
        "fit-method-save_metric_files",
        "fit-method-save_output_files",
        "fit-method-save_profile_files",
        "latent_dynamics_files",
        "metric_files",
        "output_files",
        "profile_files",
        "save_config_files",
        "save_data_file",
        "save_latent_dynamics_files",
        "save_metric_files",
        "save_output_files",
        "save_profile_files"
      ]
    },
    {
      "page": "fit-method-summary",
      "title": "Compute a summary table of estimates and diagnostics",
      "topics": [
        "fit-method-print",
        "fit-method-summary",
        "print.CmdStanMCMC",
        "print.CmdStanMLE",
        "print.CmdStanVB",
        "summary"
      ]
    },
    {
      "page": "fit-method-time",
      "title": "Report timing of CmdStan runs",
      "topics": [
        "fit-method-time",
        "time"
      ]
    },
    {
      "page": "fit-method-unconstrain_draws",
      "title": "Transform all parameter draws to the unconstrained scale",
      "topics": [
        "fit-method-unconstrain_draws",
        "unconstrain_draws"
      ]
    },
    {
      "page": "fit-method-unconstrain_variables",
      "title": "Transform a set of parameter values to the unconstrained scale",
      "topics": [
        "fit-method-unconstrain_variables",
        "unconstrain_variables"
      ]
    },
    {
      "page": "fit-method-variable_skeleton",
      "title": "Return the variable skeleton for 'relist'",
      "topics": [
        "fit-method-variable_skeleton",
        "variable_skeleton"
      ]
    },
    {
      "page": "install_cmdstan",
      "title": "Install CmdStan or clean and rebuild an existing installation",
      "topics": [
        "check_cmdstan_toolchain",
        "cmdstan_make_local",
        "install_cmdstan",
        "rebuild_cmdstan"
      ]
    },
    {
      "page": "model-method-check_syntax",
      "title": "Check syntax of a Stan program",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "check_syntax",
        "model-method-check_syntax"
      ]
    },
    {
      "page": "model-method-compile",
      "title": "Compile a Stan program",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "compile",
        "model-method-compile"
      ]
    },
    {
      "page": "model-method-diagnose",
      "title": "Run Stan's diagnose method",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "diagnose",
        "model-method-diagnose"
      ]
    },
    {
      "page": "model-method-expose_functions",
      "title": "Expose Stan functions to R",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "expose_functions",
        "fit-method-expose_functions",
        "model-method-expose_functions"
      ]
    },
    {
      "page": "model-method-format",
      "title": "Run stanc's auto-formatter on the model code.",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "format",
        "model-method-format"
      ]
    },
    {
      "page": "model-method-generate-quantities",
      "title": "Run Stan's standalone generated quantities method",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "generate_quantities",
        "model-method-generate-quantities"
      ]
    },
    {
      "page": "model-method-laplace",
      "title": "Run Stan's Laplace algorithm",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "laplace",
        "model-method-laplace"
      ]
    },
    {
      "page": "model-method-optimize",
      "title": "Run Stan's optimization algorithms",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-optimize",
        "optimize"
      ]
    },
    {
      "page": "model-method-pathfinder",
      "title": "Run Stan's Pathfinder Variational Inference Algorithm",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-pathfinder",
        "pathfinder"
      ]
    },
    {
      "page": "model-method-sample",
      "title": "Run Stan's MCMC algorithms",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-sample",
        "sample"
      ]
    },
    {
      "page": "model-method-sample_mpi",
      "title": "Run Stan's MCMC algorithms with MPI",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-sample_mpi",
        "sample_mpi"
      ]
    },
    {
      "page": "model-method-variables",
      "title": "Input and output variables of a Stan program",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-variables",
        "variables"
      ]
    },
    {
      "page": "model-method-variational",
      "title": "Run Stan's variational approximation algorithms",
      "concept": [
        "CmdStanModel methods"
      ],
      "topics": [
        "model-method-variational",
        "variational"
      ]
    },
    {
      "page": "read_cmdstan_csv",
      "title": "Read CmdStan CSV files into R",
      "topics": [
        "as_cmdstan_fit",
        "read_cmdstan_csv"
      ]
    },
    {
      "page": "register_knitr_engine",
      "title": "Register CmdStanR's knitr engine for Stan",
      "topics": [
        "register_knitr_engine"
      ]
    },
    {
      "page": "set_cmdstan_path",
      "title": "Get or set the file path to the CmdStan installation",
      "topics": [
        "cmdstan_path",
        "cmdstan_version",
        "set_cmdstan_path"
      ]
    },
    {
      "page": "write_stan_file",
      "title": "Write Stan code to a file",
      "topics": [
        "write_stan_file"
      ]
    },
    {
      "page": "write_stan_json",
      "title": "Write data to a JSON file readable by CmdStan",
      "topics": [
        "write_stan_json"
      ]
    }
  ],
  "_pkglogo": "https://github.com/stan-dev/cmdstanr/raw/v0.9.0/man/figures/logo.png",
  "_readme": "https://github.com/stan-dev/cmdstanr/raw/v0.9.0/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "checkmate",
    "cli",
    "data.table",
    "distributional",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "R6",
    "rlang",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cmdstanr.Rmd",
      "filename": "cmdstanr.html",
      "title": "Getting started with CmdStanR",
      "author": "Jonah Gabry, Rok Češnovar, and Andrew Johnson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installing CmdStan",
        "Compiling a model",
        "Running MCMC",
        "Posterior summary statistics",
        "Summaries from the posterior package",
        "CmdStan's stansummary utility",
        "Posterior draws",
        "Extracting draws",
        "Plotting draws",
        "Sampler diagnostics",
        "Extracting diagnostic values for each iteration and chain",
        "Sampler diagnostic warnings and summaries",
        "CmdStan's diagnose utility",
        "Running optimization and variational inference",
        "Optimization",
        "Laplace Approximation",
        "Variational (ADVI)",
        "Variational (Pathfinder)",
        "Saving fitted model objects",
        "Comparison with RStan",
        "Additional resources"
      ],
      "created": "2019-10-15 20:07:10",
      "modified": "2024-07-31 19:46:38",
      "commits": 57
    },
    {
      "source": "cmdstanr-internals.Rmd",
      "filename": "cmdstanr-internals.html",
      "title": "How does CmdStanR work?",
      "author": "Jonah Gabry and Rok Češnovar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Compilation",
        "Immediate compilation",
        "Delayed compilation",
        "Pedantic check",
        "Stan model variables",
        "Executable location",
        "Processing data",
        "Named list of R objects",
        "JSON file",
        "R dump file",
        "Writing CmdStan output to CSV",
        "Default temporary files",
        "Non-temporary files",
        "Reading CmdStan output into R",
        "Lazy CSV reading",
        "read_cmdstan_csv()",
        "as_cmdstan_fit()",
        "Saving and accessing advanced algorithm info (latent dynamics)",
        "Developing using CmdStanR",
        "Pre-compiled Stan models in R packages",
        "Troubleshooting and debugging"
      ],
      "created": "2020-06-24 06:16:55",
      "modified": "2023-12-13 20:14:15",
      "commits": 16
    },
    {
      "source": "profiling.Rmd",
      "filename": "profiling.html",
      "title": "Profiling Stan programs with CmdStanR",
      "author": "Rok Češnovar, Jonah Gabry and Ben Bales",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Adding profiling statements to a Stan program",
        "Accessing the profiling information from R",
        "Comparing to a faster version of the model",
        "Per-gradient timings, and memory usage",
        "Accessing and saving the profile files",
        "References"
      ],
      "created": "2021-01-25 20:53:42",
      "modified": "2023-07-26 20:48:49",
      "commits": 6
    },
    {
      "source": "r-markdown.Rmd",
      "filename": "r-markdown.html",
      "title": "R Markdown CmdStan Engine",
      "author": "Mikhail Popov",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Option 1: Using RStan for all chunks",
        "Option 2: Using CmdStanR for all chunks",
        "Example",
        "Option 3: Using both RStan and CmdStanR in the same R Markdown document",
        "Caching chunks",
        "Running interactively"
      ],
      "created": "2020-08-03 19:02:12",
      "modified": "2023-09-26 02:39:45",
      "commits": 9
    },
    {
      "source": "posterior.Rmd",
      "filename": "posterior.html",
      "title": "Working with Posteriors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary statistics",
        "Extracting posterior draws/samples",
        "Structured draws similar to rstan::extract()"
      ],
      "created": "2023-06-26 14:28:39",
      "modified": "2024-04-23 05:54:19",
      "commits": 7
    }
  ],
  "_score": 11.488158885133508,
  "_indexed": false,
  "_nocasepkg": "cmdstanr",
  "_universes": [
    "r-multiverse"
  ],
  "_indexurl": "https://stan-dev.r-universe.dev/cmdstanr",
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-04-07T08:29:29.000Z",
      "distro": "noble",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "b18c19851618562f0db12fb4cd3c0f3f32f64e2f3d8884ac3ad57c938c91cc5e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.5.3",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-04-07T08:29:16.000Z",
      "distro": "noble",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "eb53b342a480f571a9d0acc90e78160146dadab482636d18eea6b743c6031619",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-04-07T08:37:07.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "32b6b5f93252f883c144cbfabc7b68843b749013c9d0c9d9a60f7b7c461f6f7b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-04-07T08:36:19.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "03697d322f5e0248c2a00f1efcde011d312dcb8e3035f7d1bb95225178d1a9b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.9.0",
      "date": "2026-04-07T08:29:38.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "9b7321df4d4be3035dd1c2c75c8c5c16d3bf74aaaffe53d64a0690969572ab0f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-04-07T08:28:50.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "c0b0863522007a498b3b006fab0d62049f7b96bfff57bd9b9ba3c3986a881efd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-04-07T08:29:08.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "6e9b77e1c46446ca8361336d47d5b33b6e9b4d0948106dd95b835b2f8e5b9f2d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-04-07T08:28:49.000Z",
      "commit": "da99e2ba954658bdad63bffb738c4444c33a4e0e",
      "fileid": "0bd8dce35837b0458dd986fc1605cecd7308e6a8a3bb4520d6f8f5e711ef2452",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/24071795064"
    }
  ]
}