Skip to content

Commit

Permalink
test actions renv
Browse files Browse the repository at this point in the history
  • Loading branch information
albarema authored Dec 20, 2024
1 parent f0dd6bc commit 3959a1c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/render_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ jobs:
rm Data.zip
mkdir -p Results
- name: Install R
- name: Install R and setup-renv
uses: r-lib/actions/setup-r@v2

- name: Set up renv
uses: r-lib/actions/setup-renv@v2
with:
profile: 'ci' # Use the 'ci' profile

# - name: Check renv paths
# run: |
# Rscript -e 'cat("Project Library:", renv::paths$library(), "\n")'
Expand All @@ -48,10 +53,9 @@ jobs:

# - name: Install R Dependencies
# uses: r-lib/actions/setup-renv@v2
- name: Install Renv and Dependencies

- name: Extra packages
run: |
R -e 'install.packages("renv")'
R -e 'renv::restore()'
R -e 'install.packages(c("devtools", "rmarkdown", "markdown", "knitr"))'
R -e 'devtools::install_github("stephenturner/annotables")'
env:
Expand Down

0 comments on commit 3959a1c

Please sign in to comment.