* force rstantools 2.0.0

* remove mc-stan repo, do not install Suggests

* install suggested packages manually
This commit is contained in:
Cuong Duong 2021-05-12 01:24:22 +10:00 committed by GitHub
parent a794018d65
commit f99fff94b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -35,7 +35,6 @@ jobs:
build-and-test-r:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
matrix:
config:
@ -77,8 +76,9 @@ jobs:
done < <(Rscript -e 'writeLines(remotes::system_requirements(os = "ubuntu", os_release = "20.04", path = "R/"))')
- name: Install dependencies
run: |
remotes::install_deps(pkgdir = "R/", dependencies = TRUE)
remotes::install_deps(pkgdir = "R/", dependencies = NA)
remotes::install_cran("rcmdcheck")
install.packages(c("cmdstanr", "posterior"), repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
shell: Rscript {0}
- name: Check
env:

View file

@ -41,8 +41,6 @@ Suggests:
testthat,
readr,
rmarkdown
Additional_repositories:
https://mc-stan.org/r-packages/
SystemRequirements: GNU make, C++11
Biarch: true
License: MIT + file LICENSE