Skip to content

Commit

Permalink
try install using pak
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Sep 18, 2023
1 parent 316f227 commit cbbfe64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:

- name: Install dependencies
run: |
Rscript -e "install.packages(c('remotes', 'rcmdcheck', 'devtools', 'rmarkdown'))"
Rscript -e "remotes::install_deps(dependencies = TRUE)"
install.packages("pak", repos = "https://r-lib.github.io/p/pak/stable/")
pak::pkg_install(c("deps::.", "any::sessioninfo", "any::rcmdcheck", "any::remotes", "any::progress", "any::devtools", "any::rmarkdown"), upgrade = FALSE,
dependencies = c("Config/Needs/check", "all"))
shell: Rscript {0}

- name: Test
run: Rscript -e "devtools::test()"
Expand Down

0 comments on commit cbbfe64

Please sign in to comment.