Skip to content

Commit

Permalink
feat(datascience): simplify conda installs now that r-ggstatsplot is …
Browse files Browse the repository at this point in the history
…compatible
  • Loading branch information
adamblake committed Apr 30, 2024
1 parent 6f43c68 commit eb766a2
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,16 @@ RUN --mount=type=cache,target=${CONDA_DIR}/pkgs,uid=${NB_UID},sharing=locked \
mamba install --yes \
"cmdstan" \
"r-brms" \
# "r-ggstatsplot" \
"r-afex" \
"r-bwstest" \
"r-desolve" \
"r-elliptic" \
"r-ggcorrplot" \
"r-gmp" \
"r-ggside" \
"r-hypergeo" \
"r-ksamples" \
"r-multcompview" \
# "r-paletteer" \
"r-pbapply" \
"r-pmcmrplus" \
"r-prismatic" \
"r-rcppgsl" \
"r-reshape" \
"r-rmpfr" \
# "r-statsexpressions" \
"r-bayesfactor" \
"r-suppdists" \
# "r-wrs2" \
"r-zeallot" \
# "r-cmdstanr" \
"r-ggstatsplot" \
# "r-rethinking"
"r-coda" \
"r-digest" \
"r-rstanarm" \
# install all other R packages
&& R_REMOTES_UPGRADE="never" Rscript \
-e 'stan <- "https://mc-stan.org/r-packages/"' \
-e 'remotes::install_cran(c("ggstatsplot", "rstanarm", "cmdstanr"), upgrade = FALSE, repos = c(stan, getOption("repos")))' \
-e 'remotes::install_cran("cmdstanr", upgrade = FALSE, repos = c(stan, getOption("repos")))' \
-e 'remotes::install_github("rmcelreath/rethinking", upgrade = FALSE)'

# install Python packages from wheels
Expand Down

0 comments on commit eb766a2

Please sign in to comment.