Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Sep 18, 2023
1 parent dc929b3 commit 4ab15f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:

- uses: r-lib/actions/setup-tinytex@v2

- name: Cache R packages
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: r-${{ hashFiles('DESCRIPTION') }}

- name: Install dependencies
run: |
Rscript -e "install.packages(c('remotes', 'rcmdcheck', 'devtools', 'rmarkdown'))"
Expand Down

0 comments on commit 4ab15f0

Please sign in to comment.