-
Notifications
You must be signed in to change notification settings - Fork 35
40 lines (36 loc) · 1.11 KB
/
DropSeq.utilities.r.yml
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
39
40
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.
name: DropSeq.utilities R package
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
paths: 'src/R/packages/DropSeq.utilities/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: rocker/r2u:latest
steps:
- uses: actions/checkout@v3
- name: SessionInfo
run: R -q -e 'sessionInfo()'
- name: Install dependencies
run: |
setwd("src/R/packages/DropSeq.utilities")
install.packages(c("rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: |
setwd("src/R/packages/DropSeq.utilities")
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}