Skip to content

Commit

Permalink
renv disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Dec 29, 2023
1 parent 901c2c5 commit fa38459
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion .Rprofile

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ po/*~

# RStudio Connect folder
rsconnect/

# Generated dinamically from renv.Dockerfile
.Rprofile
3 changes: 2 additions & 1 deletion renv.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ WORKDIR /workspace
RUN R -e "install.packages(c('renv'))"
COPY renv.lock renv.lock
RUN mkdir -p renv
COPY .Rprofile .Rprofile

RUN echo 'source("renv/activate.R")' >> .Rprofile
COPY renv/activate.R renv/activate.R
COPY renv/settings.json renv/settings.json
RUN mkdir renv/cache
Expand Down
9 changes: 8 additions & 1 deletion renv/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
library/
local/
cellar/
lock/
python/
sandbox/
staging/
*
!.gitignore
!activate.R
!settings.json
!settings.json

0 comments on commit fa38459

Please sign in to comment.