Skip to content

Commit

Permalink
Install INLA first
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth-j committed Aug 22, 2023
1 parent d7383d9 commit df05517
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
extra-repositories: https://inla.r-inla-download.org/R/stable
- name: Install INLA
uses: actions/cache@v3
with:
path: |
${{ env.R_LIBS_USER }}/*
key: ${{ runner.os }}-INLA_cache
run: install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)
shell: Rscript {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
with:
use-public-rspm: true
extra-repositories: https://inla.r-inla-download.org/R/stable
- name: Install INLA
uses: actions/cache@v3
with:
path: |
${{ env.R_LIBS_USER }}/*
key: ${{ runner.os }}-INLA_cache
run: install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)
shell: Rscript {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
Expand Down

0 comments on commit df05517

Please sign in to comment.