From 27bbc41d3594343b967dff6a046e446366d32819 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Wed, 3 Nov 2021 00:05:16 -0500 Subject: [PATCH] check r step copied from https://github.com/r-lib/usethis/blob/main/.github/workflows/R-CMD-check.yaml ref #330 --- .github/workflows/check-release.yaml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/check-release.yaml b/.github/workflows/check-release.yaml index ff3c1e3a..16759736 100644 --- a/.github/workflows/check-release.yaml +++ b/.github/workflows/check-release.yaml @@ -44,20 +44,19 @@ jobs: with: extra-packages: rcmdcheck - - name: Session info - run: | - options(width = 100) - pkgs <- installed.packages()[, "Package"] - sessioninfo::session_info(pkgs, include_base = TRUE) - shell: Rscript {0} - - - name: Check - env: - _R_CHECK_CRAN_INCOMING_: false - run: | - options(crayon.enabled = TRUE) - rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check") - shell: Rscript {0} + # - name: Session info + # run: | + # options(width = 100) + # pkgs <- installed.packages()[, "Package"] + # sessioninfo::session_info(pkgs, include_base = TRUE) + # shell: Rscript {0} + + - uses: r-lib/actions/check-r-package@v1 + + - name: Show testthat output + if: always() + run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true + shell: bash - name: Test coverage run: covr::codecov()