Skip to content

Commit

Permalink
avoid installing from source in GHA on Windows and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
hansvancalster committed Sep 14, 2022
1 parent 5bb03e6 commit 9dbd402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check_on_different_r_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_deps(dependencies = TRUE,
type = ifelse(.Platform$OS.type=="unix", "source", "binary"))
remotes::install_cran("rcmdcheck")
install.packages("stringi")
shell: Rscript {0}
Expand Down
3 changes: 2 additions & 1 deletion inst/package_template/check_on_different_r_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:
- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_deps(dependencies = TRUE,
type = ifelse(.Platform$OS.type=="unix", "source", "binary"))
remotes::install_cran("rcmdcheck")
shell: Rscript {0}

Expand Down

0 comments on commit 9dbd402

Please sign in to comment.