Skip to content

A few fixes to warnings/errors reported by R CMD check. #36

A few fixes to warnings/errors reported by R CMD check.

A few fixes to warnings/errors reported by R CMD check. #36

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("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(args = c("--no-manual"),error_on = "error")
shell: Rscript {0}