From d1a480ae8353cc9009091d773a5b60f74052ea12 Mon Sep 17 00:00:00 2001 From: LiNk-NY Date: Thu, 15 Aug 2024 16:28:08 -0400 Subject: [PATCH] add BiocCheck step --- .github/workflows/basic_checks.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/basic_checks.yml b/.github/workflows/basic_checks.yml index 175bd3a..352ec5a 100644 --- a/.github/workflows/basic_checks.yml +++ b/.github/workflows/basic_checks.yml @@ -48,9 +48,20 @@ jobs: remotes::install_cran(c("rcmdcheck", "covr")) shell: Rscript {0} - - name: Check + - name: Run rcmdcheck env: _R_CHECK_CRAN_INCOMING_REMOTE_: false run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning", check_dir = "check") shell: Rscript {0} + - name: Run BiocCheck + env: + DISPLAY: ':99.0' + run: | + BiocCheck::BiocCheck( + dir('check', 'tar.gz$', full.names = TRUE), + `quit-with-status` = FALSE, + `no-check-R-ver` = TRUE, + `no-check-bioc-help` = TRUE + ) + shell: Rscript {0}