{"id":14067691,"url":"https://github.com/stan-dev/cmdstanr","last_synced_at":"2025-04-07T12:09:25.034Z","repository":{"id":35311268,"uuid":"212177290","full_name":"stan-dev/cmdstanr","owner":"stan-dev","description":"CmdStanR: the R interface to CmdStan","archived":false,"fork":false,"pushed_at":"2024-08-21T13:40:56.000Z","size":28154,"stargazers_count":143,"open_issues_count":86,"forks_count":63,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-10-29T14:21:56.571Z","etag":null,"topics":["bayes","bayesian","markov-chain-monte-carlo","maximum-likelihood","mcmc","r-package","stan","variational-inference"],"latest_commit_sha":null,"homepage":"https://mc-stan.org/cmdstanr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stan-dev.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"stan-dev","custom":"https://mc-stan.org/support/"}},"created_at":"2019-10-01T19:03:09.000Z","updated_at":"2024-10-23T17:53:57.000Z","dependencies_parsed_at":"2023-10-05T16:27:34.507Z","dependency_job_id":"619a115a-3d97-4e80-a900-fec10ed26cf3","html_url":"https://github.com/stan-dev/cmdstanr","commit_stats":{"total_commits":2573,"total_committers":36,"mean_commits":71.47222222222223,"dds":0.5930820054411193,"last_synced_commit":"f2e152b88fde5c2cde01ff078d5715b3b6248628"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stan-dev%2Fcmdstanr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stan-dev%2Fcmdstanr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stan-dev%2Fcmdstanr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stan-dev%2Fcmdstanr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stan-dev","download_url":"https://codeload.github.com/stan-dev/cmdstanr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayes","bayesian","markov-chain-monte-carlo","maximum-likelihood","mcmc","r-package","stan","variational-inference"],"created_at":"2024-08-13T07:05:43.667Z","updated_at":"2025-04-07T12:09:25.013Z","avatar_url":"https://github.com/stan-dev.png","language":"R","funding_links":["https://github.com/sponsors/stan-dev","https://mc-stan.org/support/"],"categories":["R"],"sub_categories":[],"readme":"# CmdStanR \u003cimg src=\"man/figures/logo.png\" align=\"right\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/cmdstanr)](https://CRAN.R-project.org/package=cmdstanr)\n[![Unit tests](https://github.com/stan-dev/cmdstanr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/stan-dev/cmdstanr/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/stan-dev/cmdstanr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/stan-dev/cmdstanr?branch=master)\n\u003c!-- badges: end --\u003e\n\n### Overview\n\nCmdStanR is a lightweight interface to [Stan](https://mc-stan.org) for R users\n(see [CmdStanPy](https://github.com/stan-dev/cmdstanpy) for Python).\n\nIf you are new to CmdStanR we recommend starting with these vignettes:\n\n* [_Getting started with CmdStanR_](https://mc-stan.org/cmdstanr/articles/cmdstanr.html)\n\n* [_How does CmdStanR work?_](https://mc-stan.org/cmdstanr/articles/cmdstanr-internals.html)\n\n### Goals\n\n* A clean interface to Stan services so that CmdStanR can keep up with Stan\nreleases.\n\n* R code that doesn't interface directly with C++, only calls compiled executables.\n\n* Modularity: CmdStanR runs Stan's algorithms and lets downstream modules do the\nanalysis.\n\n* Flexible [BSD-3 license](https://opensource.org/license/bsd-3-clause).\n\n\n### Installation\n\n#### Installing the R package\n\nYou can install the latest beta release of the **cmdstanr** R package with\n\n```r\n# we recommend running this in a fresh R session or restarting your current session\ninstall.packages(\"cmdstanr\", repos = c('https://stan-dev.r-universe.dev', getOption(\"repos\")))\n```\nThis does not install the vignettes, which take a long time to build, but they are always available\nonline at https://mc-stan.org/cmdstanr/articles/.\n\nTo instead install the latest development version of the package from GitHub use\n\n```r\n# install.packages(\"remotes\")\nremotes::install_github(\"stan-dev/cmdstanr\")\n```\n\n#### Installing CmdStan\n\nIf you don't already have CmdStan installed then, in addition to installing the\nR package, it is also necessary to install CmdStan using CmdStanR's\n`install_cmdstan()` function. A suitable C++ toolchain is also required.\nInstructions are provided in the [_Getting started with\nCmdStanR_](https://mc-stan.org/cmdstanr/articles/cmdstanr.html) vignette.\n\n\n### Contributing\n\nThere is a lot of work still to be done and we welcome contributions from\nanyone! If you are interested in contributing please comment on an open issue or\nopen a new one if none are applicable.\n\n### License\n\nCmdStanR, like CmdStan and the core Stan C++ code, is licensed under the\nfollowing licenses:\n\n- Code: BSD 3-clause (https://opensource.org/license/bsd-3-clause/)\n- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstan-dev%2Fcmdstanr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstan-dev%2Fcmdstanr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstan-dev%2Fcmdstanr/lists"}