Skip to content

Commit 789209b

Browse files
committed
Use pak to install pkg
1 parent 83adbd8 commit 789209b

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/windows_macosx.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,9 @@ jobs:
5151
shell: Rscript {0}
5252
env:
5353
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
54-
- name: Update deps #devtools::install() is unstable under windows. workaround is to run 'devtools::install_deps()' beforehand.
55-
run: |
56-
devtools::install_deps()
57-
shell: Rscript {0}
58-
env:
59-
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
6054
- name: Build
6155
run: |
62-
devtools::install()
56+
pak::local_install(dependencies=TRUE)
6357
shell: Rscript {0}
6458
env:
6559
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)