Skip to content

Merge pull request #5 from morgantelab/master #53

Merge pull request #5 from morgantelab/master

Merge pull request #5 from morgantelab/master #53

Workflow file for this run

# 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
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- 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:
- name: Install GSL
run: brew install gsl
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: |
install.packages(c("remotes","rcmdcheck"))
install.packages(c("devtools","Rcpp","RcppArmadillo"))
install.packages(c("RcppParallel","MBSP","mvtnorm","matrixStats"))
install.packages(c("Rfast","testthat","varbvs"))
remotes::install_github("stephenslab/ebnm",upgrade="never",force=TRUE)
remotes::install_github("stephenslab/mashr",upgrade="never",force=TRUE)
remotes::install_github("willwerscheid/flashier",upgrade="never",force=TRUE)
shell: Rscript {0}
- name: Check
run: |
options(crayon.enabled = TRUE)
rcmdcheck::rcmdcheck(build_args = "--no-build-vignettes",args = c("--no-manual","--ignore-vignettes"),error_on = "error")
shell: Rscript {0}