Skip to content

Commit f7b5819

Browse files
committed
Wrap up in r-dependencies
1 parent 5aadaf4 commit f7b5819

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

.github/workflows/R-CMD-check-thorough.yaml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,9 @@ jobs:
4747
- uses: r-lib/actions/setup-r-dependencies@v2
4848
with:
4949
cache: "always"
50-
- uses: r-lib/actions/setup-pandoc@v2
51-
52-
- name: Restore R package cache
53-
uses: actions/cache@v3
54-
with:
55-
path: |
56-
${{ env.R_LIBS_USER }}
57-
!${{ env.R_LIBS_USER }}/pak
58-
key: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
59-
restore-keys: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-
50+
extra-packages: any::rcmdcheck
6051

61-
- name: Install system dependencies
62-
if: runner.os == 'Linux'
63-
run: |
64-
pak::pkg_sysreqs(execute = TRUE)
65-
shell: Rscript {0}
66-
67-
- name: Install dependencies
68-
run: |
69-
pak::local_install_dev_deps(upgrade = TRUE)
70-
pak::pkg_install("rcmdcheck")
71-
shell: Rscript {0}
52+
- uses: r-lib/actions/setup-pandoc@v2
7253

7354
- name: Session info
7455
run: |

0 commit comments

Comments
 (0)