Fix minor check issues #324
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
pull_request: | |
branches: | |
- devel | |
name: R-CMD-check | |
jobs: | |
R-CMD-check: | |
runs-on: ubuntu-latest | |
container: ghcr.io/alanocallaghan/scater:latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
dependencies <- remotes::local_package_deps(dependencies = TRUE) | |
leftovers <- setdiff(dependencies, installed.packages()) | |
BiocManager::install(leftovers, ask=FALSE, Ncpu=2L) | |
remotes::install_cran("rcmdcheck") | |
shell: Rscript {0} | |
- name: Check | |
env: | |
_R_CHECK_CRAN_INCOMING_REMOTE_: false | |
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error", check_dir = "check") | |
shell: Rscript {0} | |
# - name: BiocCheck | |
# uses: insightsengineering/bioc-check-action@v1 |