Skip to content

Commit

Permalink
Option to install R core package in R-Studio Build
Browse files Browse the repository at this point in the history
  • Loading branch information
dibryant committed Feb 13, 2024
1 parent a660d2c commit d5cd2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rstudio/c9s-python-3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ COPY rsession.conf /etc/rstudio/rsession.conf
# package installation
RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*"
RUN R -e "install.packages('Rcpp')"
RUN if [-n = $NEEDPACKAGE]; then R -e "install.packages(c('tidyverse', 'tidymodels', 'plumber', 'vetiver', 'devtools'))" R -e "install_versions('tidyverse', version = '2.0.0', 'tidymodels', version = '1.1.1', 'vetiver', version = '0.2.5', 'plumber', version = '1.2.1', 'devtools', verison = '2.4.5' )"; else exit 0
RUN if [-n = $NEEDPACKAGE]; then R -e "install.packages(c('tidyverse', 'tidymodels', 'plumber', 'vetiver', 'devtools'))" && R -e "install_versions('tidyverse', version = '2.0.0', 'tidymodels', version = '1.1.1', 'vetiver', version = '0.2.5', 'plumber', version = '1.2.1', 'devtools', verison = '2.4.5' )"; else exit 0

# Install NGINX to proxy RStudio and pass probes check
ENV NGINX_VERSION=1.22 \
Expand Down

0 comments on commit d5cd2fd

Please sign in to comment.