Fix R CI - install Suggests packages explicitly

This commit is contained in:
Cuong Duong 2021-08-26 08:45:28 +10:00 committed by GitHub
commit 6d8a810f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ jobs:
- name: Install dependencies
run: |
remotes::install_deps(pkgdir = "R/", dependencies = NA)
remotes::install_cran("rcmdcheck")
remotes::install_cran(c("rcmdcheck", "knitr", "testthat", "readr", "rmarkdown"))
install.packages(c("cmdstanr", "posterior"), repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
shell: Rscript {0}
- name: Check