-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (36 loc) · 1.37 KB
/
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
32
33
34
35
36
37
38
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
- master
pull_request:
branches:
- master
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
_R_CHECK_FORCE_SUGGESTS_: false
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- name: Install GSL
run: brew install gsl
- name: Install dependencies
run: |
install.packages(c("remotes","rcmdcheck","mvtnorm","matrixStats"))
install.packages(c("devtools","remotes","RcppGSL","R6","abind"))
install.packages(c("progress","ggplot2","cowplot","ggrepel"))
remotes::install_github("stephenslab/susieR",upgrade="never",force=TRUE)
remotes::install_github("stephens999/ashr",upgrade="never",force=TRUE)
remotes::install_github("stephenslab/mashr",upgrade="never",force=TRUE)
shell: Rscript {0}
- name: Check
run: |
options(crayon.enabled = TRUE)
rcmdcheck::rcmdcheck(args = c("--no-manual","--ignore-vignettes"),
error_on = "error",build_args = "--no-build-vignettes")
shell: Rscript {0}