diff --git a/.github/workflows/r-cmd-check.yaml b/.github/workflows/r-cmd-check.yaml index d1ca1f04d..bb8a2c737 100644 --- a/.github/workflows/r-cmd-check.yaml +++ b/.github/workflows/r-cmd-check.yaml @@ -36,13 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: r-lib/actions/setup-pandoc@v2 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} - use-public-rspm: true - + - name: Install system dependencies on MacOS if: runner.os == 'macOS' run: | @@ -56,6 +50,12 @@ jobs: C:\JAGS-latest.exe /S shell: cmd + - uses: r-lib/actions/setup-r@v2 + 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 with: extra-packages: any::rcmdcheck