{"id":20019244,"url":"https://github.com/jbris/stan-cmdstanr-docker","last_synced_at":"2025-05-04T23:31:48.213Z","repository":{"id":49948749,"uuid":"518038578","full_name":"JBris/stan-cmdstanr-docker","owner":"JBris","description":"A Docker image to run Stan, cmdstanr, and brms for Bayesian statistical modelling","archived":false,"fork":false,"pushed_at":"2024-02-19T07:59:19.000Z","size":29,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-19T08:54:15.707Z","etag":null,"topics":["bayesian-inference","bayesian-statistics","bayesplot","brms","cmdstan","data-science","docker","docker-compose","docker-image","dockerfile","probabilistic-programming","r","rstan","rstanarm","stan","statistics","tidybayes","tidyverse"],"latest_commit_sha":null,"homepage":"https://jbris.github.io/stan-cmdstanr-docker/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-26T11:45:57.000Z","updated_at":"2024-02-10T12:47:19.000Z","dependencies_parsed_at":"2024-02-19T08:58:42.337Z","dependency_job_id":null,"html_url":"https://github.com/JBris/stan-cmdstanr-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBris","download_url":"https://codeload.github.com/JBris/stan-cmdstanr-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224416369,"owners_count":17307411,"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":["bayesian-inference","bayesian-statistics","bayesplot","brms","cmdstan","data-science","docker","docker-compose","docker-image","dockerfile","probabilistic-programming","r","rstan","rstanarm","stan","statistics","tidybayes","tidyverse"],"created_at":"2024-11-13T08:26:34.661Z","updated_at":"2024-11-13T08:26:35.307Z","avatar_url":"https://github.com/JBris.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stan-cmdstanr-docker\n\n[![pages-build-deployment](https://github.com/JBris/stan-cmdstanr-docker/actions/workflows/pages/pages-build-deployment/badge.svg?branch=main)](https://github.com/JBris/stan-cmdstanr-docker/actions/workflows/pages/pages-build-deployment)\n\n## Table of Contents  \n\n* [Introduction](#introduction) \n* [Stan](#stan) \n* [Docker](#docker) \n\n### Introduction\n\nA Docker image to run Stan, cmdstanr, and brms for Bayesian statistical modelling\n\nLaunch an  RStudio webserver using `bash stan_serve.sh`.\n\nExecute `docker pull ghcr.io/jbris/stan-cmdstanr-docker:latest` or `bash docker_pull.sh` to pull the image.\n\nTo convert the image into a Singularity container, run `singularity pull docker://ghcr.io/jbris/stan-cmdstanr-docker:latest` or `bash singularity_pull.sh`.\n\n### Stan\n\nThe following packages are installed during the image build process:\n\n* [Stan](https://mc-stan.org/)\n* [RStan](https://mc-stan.org/users/interfaces/rstan)\n* [rstanarm](https://mc-stan.org/rstanarm/)\n* [CmdStan](https://mc-stan.org/users/interfaces/cmdstan)\n* [brms](https://paul-buerkner.github.io/brms/)\n* [tidybayes](https://mjskay.github.io/tidybayes/)\n* [bayesplot](https://mc-stan.org/bayesplot/)\n\nThe [brms_within_chain_parallelization.R](brms_within_chain_parallelization.R) script can be executed within the Docker container to evaluate whether within-chain parallelization, CmdStan, and brms are working properly.\n\n### Docker\n\nThis Docker image extends from `rocker/tidyverse`. [Click this link for more information about the Rocker project.](https://rocker-project.org/images/)\n\nRunning the Docker container will launch an RStudio web server. You can access RStudio by visiting localhost:$R_STUDIO_PORT on your web browser. See [.env](.env) for the defined environment variables.\n\nRunning docker-compose will bind a volume, mapping the container's `home` directory to a local `r_home` directory.\n\nSee the [Dockerfile](Dockerfile) for the instructions executed during the build of the Docker image. \n\nView [docker-compose.yaml](docker-compose.yaml) to see the definition for the Stan service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbris%2Fstan-cmdstanr-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbris%2Fstan-cmdstanr-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbris%2Fstan-cmdstanr-docker/lists"}