Skip to content

Commit 0d29b25

Browse files
authored
Update R package installation and check commands
1 parent 672abd8 commit 0d29b25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
2323
- name: Install dependencies
2424
run: |
25-
Rscript -e 'install.packages(c("rmarkdown", "knitr", "pkgdown", "devtools"))'
26-
Rscript -e 'devtools::install_dev_deps()'
25+
Rscript -e 'install.packages(c("rmarkdown", "knitr", "pkgdown", "pak", "rcmdcheck"))'
26+
Rscript -e 'pak::local_install_dev_deps()'
2727
2828
- name: Check package
29-
run: Rscript -e 'devtools::check()'
29+
run: Rscript -e 'rcmdcheck::rcmdcheck()'
3030

3131
- name: Build site
3232
run: Rscript -e 'pkgdown::build_site_github_pages(install=TRUE)'

0 commit comments

Comments
 (0)