Skip to content

Commit bdf4427

Browse files
committed
install renv
1 parent e9fc117 commit bdf4427

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.Rprofile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
install.packages("yaml")
21
source("renv/activate.R")
32
if (file.exists('~/.Rprofile')) sys.source('~/.Rprofile', envir = environment())
43

.github/workflows/prod.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
run: |
2424
sudo ./docker/dependencies.sh
2525
Rscript -e "install.packages('yaml')"
26-
Rscript -e 'renv::restore()'
26+
27+
- name: Install renv packages
28+
uses: r-lib/actions/setup-renv@v2
29+
with:
30+
cache-version: 2
2731

2832
- name: Set up Quarto environment
2933
uses: quarto-dev/quarto-actions/setup@v2

0 commit comments

Comments
 (0)