-
Notifications
You must be signed in to change notification settings - Fork 11
36 lines (32 loc) · 1.04 KB
/
build.yml
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
32
33
34
35
36
name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:RELEASE_3_12
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends \
apt-utils \
libglpk-dev \
libcurl4-openssl-dev \
libxml2-dev \
libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
- name: Install hypeR
run: |
options(repos = c(CRAN = "https://cran.r-project.org"))
BiocManager::repositories()
remotes::install_deps(dependencies = TRUE, repos = BiocManager::repositories())
remotes::install_bioc("BiocStyle")
remotes::install_cran("rcmdcheck")
shell: Rscript {0}
- name: Check
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
run: rcmdcheck::rcmdcheck(args = c("--no-manual"), error_on = "warning", check_dir = "check")
shell: Rscript {0}