Skip to content

Switch to gypsum backend for saving and loading datasets. (#22) #18

Switch to gypsum backend for saving and loading datasets. (#22)

Switch to gypsum backend for saving and loading datasets. (#22) #18

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
container: 'bioconductor/bioconductor_docker:devel'
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Install dependencies
run: |
local_deps <- remotes::local_package_deps(dependencies = TRUE)
deps <- remotes::dev_package_deps(dependencies = TRUE, repos = BiocManager::repositories())
BiocManager::install(local_deps[local_deps %in% deps$package[deps$diff != 0]], Ncpu = 2L)
BiocManager::install("ensembldb", Ncpu = 2L)
remotes::install_cran('rcmdcheck', Ncpu = 2L)
shell: Rscript {0}
- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error", check_dir = "check")
shell: Rscript {0}
- name: BiocCheck
run: |
BiocManager::install("BiocCheck")
BiocCheck::BiocCheck(".")
shell: Rscript {0}
- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: check-results
path: check
- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash
- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: test-results
path: check