Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
mblue9 committed Sep 23, 2024
1 parent bda6d11 commit d093993
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
# Add R dependencies
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# Install R dependencies
- name: Install R dependencies
run: Rscript -e 'install.packages(c("evaluate", "rmarkdown", "knitr", "readr", "tidyr", "reactable", "maps", "plotly", "ggplot2", "tidygeocoder", "countrycode"))'
Expand Down Expand Up @@ -53,7 +58,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
# Set up caching for R packages
- name: Cache R packages
uses: actions/cache@v3
with:
path: ~/.R
key: ${{ env.cache-version }}-${{ runner.os }}-R
restore-keys: |
${{ env.cache-version }}-${{ runner.os }}-R-
# Add R dependencies
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# Install R dependencies
- name: Install R dependencies
run: Rscript -e 'install.packages(c("evaluate", "rmarkdown", "knitr", "readr", "tidyr", "reactable", "maps", "plotly", "ggplot2", "tidygeocoder", "countrycode"))'
Expand Down

0 comments on commit d093993

Please sign in to comment.