Skip to content

Commit

Permalink
update renv
Browse files Browse the repository at this point in the history
  • Loading branch information
VLucet committed May 9, 2024
1 parent b627c0d commit a0f4d65
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 151 deletions.
5 changes: 2 additions & 3 deletions Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ MAINTAINER Valentin Lucet <valentin.lucet@gmail.com>

# ENV vars
ENV PATH="$PATH:/home/rstudio/julia-1.4.2/bin"
ENV RENV_VERSION 1.0.7

# Install System dependencies
RUN apt-get -y --allow-releaseinfo-change update -qq
Expand Down Expand Up @@ -57,7 +56,7 @@ RUN apt-get install -y --no-install-recommends \
RUN tlmgr install setspace ulem sectsty datetime ms psnfss subfig multirow \
adjustbox collectbox enumitem lipsum lineno pdfpages siunitx biblatex \
logreq courier soul biblatex-apa
#

# # Julia install
# ENV JULIA_DEPOT_PATH=/opt/julia
# ENV JULIA_PKGDIR=/opt/julia
Expand Down Expand Up @@ -105,7 +104,7 @@ WORKDIR /home/rstudio/land_con_monteregie

# Set up renv and Restore renv library
RUN R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))"
RUN R -e "remotes::install_github('rstudio/renv@${RENV_VERSION}')"
RUN R -e "remotes::install_github('rstudio/renv@1.0.7')"
RUN R -e "renv::restore()"

# Set up links
Expand Down
2 changes: 2 additions & 0 deletions renv/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cellar/
sandbox/
local/
lock/
library/
Expand Down
Loading

0 comments on commit a0f4d65

Please sign in to comment.