Skip to content

Commit b40f2bc

Browse files
author
Guy Davenport
committed
different approach
1 parent 159cb0a commit b40f2bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/generate.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ jobs:
7171
- name: Set up R
7272
uses: r-lib/actions/setup-r@v2
7373

74-
- name: Install devtools
75-
working-directory: ./main/pkg
76-
run: |
77-
Rscript -e "install.packages(c('usethis', 'pkgdown', 'rcmdcheck', 'rversions', 'urlchecker'), repos = 'https://cloud.r-project.org')"
78-
Rscript -e "install.packages('devtools', repos = 'https://cloud.r-project.org')"
74+
- name: Install packages
75+
uses: r-lib/actions/setup-r-dependencies@v2
76+
with:
77+
packages: |
78+
any::devtools
7979
8080
- name: Run devtools::check
8181
working-directory: ./main/pkg

0 commit comments

Comments
 (0)