diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 2acbf22c70..51f9b3a881 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -34,10 +34,16 @@ jobs: with: r-version: ${{ matrix.config.r }} rtools-version: '43' + - name: Set path for rtoools43 on Windows + if: runner.os == 'Windows' + run: echo "C:\\rtools43\\usr\\bin" >> $GITHUB_PATH + + - name: Verify RTools version on Windows if: runner.os == 'Windows' run: | - echo "PATH=C:\\rtools43\\usr\\bin;C:\\rtools43\\bin" >> $GITHUB_PATH + system('gcc --version') + shell: Rscript {0} - uses: r-lib/actions/setup-pandoc@v2