-
Notifications
You must be signed in to change notification settings - Fork 18
34 lines (32 loc) · 990 Bytes
/
windows.yaml
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
on:
push:
pull_request:
name: windows
jobs:
windows:
runs-on: ${{ matrix.windows }}
strategy:
fail-fast: false
matrix:
include: [
{ windows: windows-latest, r: release },
{ windows: windows-latest, r: devel }
]
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r }}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--no-vignettes", "--as-cran"), build_args = c("--no-build-vignettes"), error_on = "error", check_dir = "check")
shell: Rscript {0}