mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +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:
|
build-and-test-r:
|
||||||
|
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
|
|
@ -77,8 +76,9 @@ jobs:
|
||||||
done < <(Rscript -e 'writeLines(remotes::system_requirements(os = "ubuntu", os_release = "20.04", path = "R/"))')
|
done < <(Rscript -e 'writeLines(remotes::system_requirements(os = "ubuntu", os_release = "20.04", path = "R/"))')
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
remotes::install_deps(pkgdir = "R/", dependencies = TRUE)
|
remotes::install_deps(pkgdir = "R/", dependencies = NA)
|
||||||
remotes::install_cran("rcmdcheck")
|
remotes::install_cran("rcmdcheck")
|
||||||
|
install.packages(c("cmdstanr", "posterior"), repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
- name: Check
|
- name: Check
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,6 @@ Suggests:
|
||||||
testthat,
|
testthat,
|
||||||
readr,
|
readr,
|
||||||
rmarkdown
|
rmarkdown
|
||||||
Additional_repositories:
|
|
||||||
https://mc-stan.org/r-packages/
|
|
||||||
SystemRequirements: GNU make, C++11
|
SystemRequirements: GNU make, C++11
|
||||||
Biarch: true
|
Biarch: true
|
||||||
License: MIT + file LICENSE
|
License: MIT + file LICENSE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue