-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (26 loc) · 801 Bytes
/
r2u.yaml
File metadata and controls
33 lines (26 loc) · 801 Bytes
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
name: r2u
on:
#push:
#pull_request:
#release:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
container:
image: rocker/r2u:latest
steps:
- uses: actions/checkout@v6
- name: SessionInfo
shell: Rscript {0}
run: sessionInfo()
#- name: System Dependencies
# # can be used to install e.g. cmake or other build dependencies
# run: apt update -qq && apt install --yes --no-install-recommends cmake git
- name: Package Dependencies
shell: Rscript {0}
run: remotes::install_deps(".", dependencies=TRUE)
- name: Build Package
run: R CMD build --no-build-vignettes --no-manual .
- name: Check Package
run: R CMD check --no-vignettes --no-manual $(ls -1tr *.tar.gz | tail -1)