-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: install brms and mapproj from conda
- Loading branch information
Showing
2 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,20 +59,8 @@ LABEL maintainer="CourseKata <[email protected]>" | |
# install cmdstan and related requests | ||
RUN --mount=type=cache,target=${CONDA_DIR}/pkgs,uid=${NB_UID},sharing=locked \ | ||
mamba install --yes \ | ||
# "r-brms" | ||
"r-bridgesampling" \ | ||
"r-brobdingnag" \ | ||
"r-colourpicker" \ | ||
"r-dt" \ | ||
"r-dygraphs" \ | ||
"r-inline" \ | ||
"r-nleqslv" \ | ||
"r-rcppparallel" \ | ||
"r-shinyjs" \ | ||
"r-shinythemes" \ | ||
"r-threejs" \ | ||
"r-xts" \ | ||
# "r-ggstatsplot" | ||
"r-brms" \ | ||
# "r-ggstatsplot" \ | ||
"r-afex" \ | ||
# "r-bwstest" \ | ||
"r-desolve" \ | ||
|
@@ -88,6 +76,7 @@ RUN --mount=type=cache,target=${CONDA_DIR}/pkgs,uid=${NB_UID},sharing=locked \ | |
"r-pbapply" \ | ||
# "r-pmcmrplus" \ | ||
"r-prismatic" \ | ||
"r-rcppgsl" \ | ||
"r-reshape" \ | ||
"r-rmpfr" \ | ||
# "r-statsexpressions" \ | ||
|
@@ -98,15 +87,15 @@ RUN --mount=type=cache,target=${CONDA_DIR}/pkgs,uid=${NB_UID},sharing=locked \ | |
# "r-rethinking" | ||
"r-coda" \ | ||
"r-digest" | ||
# "r-rstanarm" | ||
|
||
RUN R_REMOTES_UPGRADE="never" Rscript \ | ||
-e 'stan <- "https://mc-stan.org/r-packages/"' \ | ||
-e 'remotes::install_cran("cmdstanr", repos = c(stan, getOption("repos")), dependencies = TRUE)' \ | ||
-e 'remotes::install_cran("cmdstanr"), repos = c(stan, getOption("repos")), dependencies = TRUE)' \ | ||
-e 'cmdstanr::install_cmdstan()' \ | ||
-e 'remotes::install_cran(c("brms", "ggstatsplot", "rstanarm"))' \ | ||
-e 'remotes::install_github("rmcelreath/rethinking")' | ||
|
||
|
||
# install Python packages from wheels | ||
ARG PIP_CACHE_DIR PIP_WHEEL_DIR PY_REQUIREMENTS | ||
RUN --mount=type=bind,source="${PY_REQUIREMENTS}",target=/tmp/requirements.txt \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters