From 12eea321ff7c3d432f7d110799531349272ec671 Mon Sep 17 00:00:00 2001 From: Paul Carvalho <143020124+Paul-Carvalho@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:37:18 -0700 Subject: [PATCH] Update R-CMD-check.yaml --- .github/workflows/R-CMD-check.yaml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e88ba5dd..da61e9d0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -30,29 +30,12 @@ jobs: steps: - uses: actions/checkout@v2 - - 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 - - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: rcmdcheck - + extra-packages: any::rcmdcheck + needs: check - uses: r-lib/actions/check-r-package@v2 - - - name: Show testthat output - if: always() - run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true - shell: bash - - - name: Upload check results - if: failure() - uses: actions/upload-artifact@main with: - name: ${{ runner.os }}-r${{ matrix.config.r }}-results - path: check + error-on: '"error"'