Skip to content

Commit 791c57b

Browse files
committed
fixing ubuntu build
1 parent cccb971 commit 791c57b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/R-CMD-orig.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,10 @@ jobs:
7575
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
7676

7777
- name: Install dependencies
78-
run: |
79-
remotes::install_deps(dependencies = TRUE)
80-
remotes::install_cran("rcmdcheck")
81-
remotes::install_cran("covr")
82-
shell: Rscript {0}
78+
- uses: r-lib/actions/setup-r-dependencies@v2
79+
with:
80+
extra-packages: rcmdcheck # Ensure rcmdcheck is installed
81+
needs: check # If your package has dependencies listed in DESCRIPTION
8382

8483
- name: Check
8584
env:

0 commit comments

Comments
 (0)