Skip to content

Update README.md

Update README.md #643

name: Install R package (Windows)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
r-version: ['4.3.3', '4.4.1']
steps:
- uses: actions/checkout@v3
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Install Bioconductor and biomaRt
run: |
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("biomaRt")
BiocManager::install("AnnotationDbi")
shell: Rscript {0}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: |
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error", build_args = "--no-build-vignettes", check_dir = "check_dir")
shell: Rscript {0}
timeout-minutes: 10