From cbbfe649bf6d622c1aa41871d4d8a077a76c2d0b Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Mon, 18 Sep 2023 19:16:46 +0200 Subject: [PATCH] try install using pak --- .github/workflows/R-CMD-check.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5329173..329107a 100755 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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()"