Skip to content

Commit

Permalink
Trying to fix GHA
Browse files Browse the repository at this point in the history
Need an older magick package on Windows && R < 4.0.0
  • Loading branch information
gaborcsardi committed Mar 22, 2024
1 parent 701a98c commit 31524e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,20 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
id: setup-r
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
if: ${{ startsWith(steps.setup-r.outputs.installed-r-version, '3') && runner.os == 'Windows' }}
with:
extra-packages: any::rcmdcheck, [email protected]
needs: check

- uses: r-lib/actions/setup-r-dependencies@v2
if: ${{ ! startsWith(steps.setup-r.outputs.installed-r-version, '3') || runner.os != 'Windows' }}
with:
extra-packages: any::rcmdcheck
needs: check
Expand Down

0 comments on commit 31524e0

Please sign in to comment.