Skip to content

Commit

Permalink
Revert "manually install up-to-date rstan"
Browse files Browse the repository at this point in the history
This reverts commit 9b30403.
  • Loading branch information
sbfnk committed Oct 23, 2023
1 parent 5eff03c commit f28daed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
matrix:
config:
- {os: macOS-latest, r: 'release', rtools: ''}
## to reactivate once rstan is updated on CRAN
## - {os: windows-latest, r: 'release', rtools: '42'}
- {os: windows-latest, r: 'release', rtools: '42'}
- {os: ubuntu-latest, r: 'release', rtools: ''}
- {os: ubuntu-latest, r: 'oldrel-1', rtools: ''}
- {os: ubuntu-latest, r: 'devel', rtools: ''}
Expand All @@ -55,8 +54,6 @@ jobs:
sudo apt-get install -y libcurl4-openssl-dev || true
sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true
sudo apt-get install -y libpng-dev || true
## to remove once rstan is updated on CRAN
sudo apt-get install -y libharfbuzz-dev libfribidi-dev || true
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
Expand All @@ -71,14 +68,6 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

## to remove once rstan is updated on CRAN
- name: Manually install dev versions of StanHeaders and rstan
run: |
install.packages("devtools")
devtools::install_github("stan-dev/rstan/StanHeaders@develop")
devtools::install_github("stan-dev/rstan/rstan/rstan@develop")
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
10 changes: 1 addition & 9 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
extra-packages: any::covr
needs: coverage

## to remove once rstan is updated on CRAN
- name: Manually install dev versions of StanHeaders and rstan
run: |
install.packages("devtools")
devtools::install_github("stan-dev/rstan/StanHeaders@develop")
devtools::install_github("stan-dev/rstan/rstan/rstan@develop")
shell: Rscript {0}

- name: Test coverage
run: covr::codecov(quiet = FALSE)
shell: Rscript {0}
shell: Rscript {0}

0 comments on commit f28daed

Please sign in to comment.