Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches: [main]
pull_request:
branches: [main]

name: BioC-check

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

jobs:
BioC-check:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:devel

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
options(repos = BiocManager::repositories())
BiocManager::install(c("rcmdcheck", "BiocCheck", "remotes"), ask = FALSE)
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}

- name: R CMD check
run: rcmdcheck::rcmdcheck(".", args = c("--no-manual", "--timings"), error_on = "error")
shell: Rscript {0}

- name: BiocCheck
run: BiocCheck::BiocCheck(getwd(), `new-package` = TRUE)
shell: Rscript {0}
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0),
withr
withr,
BiocStyle
VignetteBuilder: knitr
Imports:
Rapp
Loading