Skip to content

Commit 7be3ca6

Browse files
committed
Fix checks
1 parent 23072cf commit 7be3ca6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/check-standard.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,35 @@ jobs:
3434

3535
- uses: r-lib/actions/setup-r@v2
3636
with:
37+
extra-repositories: 'https://inla.r-inla-download.org/R/testing'
3738
r-version: ${{ matrix.config.r }}
3839
http-user-agent: ${{ matrix.config.http-user-agent }}
3940
use-public-rspm: true
4041

4142
- uses: r-lib/actions/setup-pandoc@v2
43+
44+
- name: Add inla repo
45+
run: |
46+
cat('options(repos = c(INLA = "https://inla.r-inla-download.org/R/testing/", getOption("repos")))', file = "~/.Rprofile", append = TRUE)
47+
# cat("\noptions(tinytex.verbose = TRUE)\n", file = "~/.Rprofile", append = TRUE)
48+
shell: Rscript {0}
4249

4350
- name: Double check repos
4451
run: |
4552
print(getOption("repos"))
4653
shell: Rscript {0}
4754

55+
4856
- uses: r-lib/actions/setup-r-dependencies@v2
4957
with:
5058
dependencies: '"all"'
5159
extra-packages: |
52-
rcmdcheck
60+
rcmdcheck
61+
rstan
62+
StanHeaders
63+
Rcpp
64+
RcppParallel
65+
inline
5366
5467
- uses: r-lib/actions/check-r-package@v2
5568
with:

0 commit comments

Comments
 (0)