Skip to content

Commit

Permalink
added R Package Installation fix to yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabea committed Feb 9, 2025
1 parent b85ea7b commit c9b1180
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ jobs:
sudo apt update
sudo apt install -y r-base
- name: Set Up R Library Path
run: |
mkdir -p ~/R/library
echo 'R_LIBS_USER="~/R/library"' >> ~/.Renviron
- name: Install Required R Packages
run: |
Rscript -e 'install.packages(c("rmarkdown", "knitr"), repos="http://cran.rstudio.com")'
Rscript -e 'install.packages(c("rmarkdown", "knitr"), lib="~/R/library", repos="http://cran.rstudio.com")'
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand Down

0 comments on commit c9b1180

Please sign in to comment.