mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-07-30 20:18:11 +00:00
Fix R CI (#1907)
* force rstantools 2.0.0 * remove mc-stan repo, do not install Suggests * install suggested packages manually
This commit is contained in:
parent
a794018d65
commit
f99fff94b3
2 changed files with 2 additions and 4 deletions
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue