-
Notifications
You must be signed in to change notification settings - Fork 7
31 lines (29 loc) · 955 Bytes
/
R-CMD-check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on: [push, pull_request]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: 4.2.3
- name: Install BiocManager
run: |
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
shell: Rscript {0}
- name: Install GENESIS, GenomicFeatures
run: |
BiocManager::install(c("GENESIS", "GenomicFeatures"))
shell: Rscript {0}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
remotes::install_github("xihaoli/STAAR")
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}