Skip to content

Silence -Wbitwise-instead-of-logical #400

Silence -Wbitwise-instead-of-logical

Silence -Wbitwise-instead-of-logical #400

Workflow file for this run

on:
push:
pull_request:
branches:
- master
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
container: ${{ matrix.config.image }}
name: ${{ matrix.config.os }} (${{ matrix.config.bioc }} - ${{ matrix.config.image }})
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, bioc: 'devel', image: "alanocallaghan/basics:latest"}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.cran }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Install dependencies
run: |
dependencies <- remotes::local_package_deps(dependencies = TRUE)
leftovers <- setdiff(dependencies, installed.packages())
BiocManager::install(leftovers, ask=FALSE, Ncpu=2L)
BiocManager::install(c("rcmdcheck", "magick", "BiocManager", "BiocCheck"), ask=FALSE, Ncpu=2L)
shell: Rscript {0}
- name: Check
uses: r-lib/actions/check-r-package@v2
- name: BiocCheck
run: BiocCheck::BiocCheck(dir('check', 'tar.gz$', full.names = TRUE), `quit-with-status` = TRUE)
shell: Rscript {0}