Skip to content

Commit 8817803

Browse files
Fixing CI by installing R packages needed for RCall
1 parent 7b01567 commit 8817803

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
with:
3636
use-public-rspm: true
3737
r-version: 'release' # or a fixed version if you prefer
38+
- name: Install R packages for RCall
39+
run: |
40+
Rscript -e 'options(repos = c(CRAN = "https://cloud.r-project.org")); install.packages(c("forecast", "psd"))'
3841
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
3942
- uses: julia-actions/setup-julia@v2
4043
with:
@@ -65,6 +68,9 @@ jobs:
6568
with:
6669
use-public-rspm: true
6770
r-version: 'release'
71+
- name: Install R packages for RCall
72+
run: |
73+
Rscript -e 'options(repos = c(CRAN = "https://cloud.r-project.org")); install.packages(c("forecast", "psd"))'
6874
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
6975
- uses: julia-actions/cache@v2
7076
- name: Configure doc environment

0 commit comments

Comments
 (0)