From e384279687e79b73a256b1a8590717b1f539b229 Mon Sep 17 00:00:00 2001 From: Juniper Simonis Date: Fri, 12 May 2023 11:38:13 -0700 Subject: [PATCH] Update r-cmd-check.yaml --- .github/workflows/r-cmd-check.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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