-
Notifications
You must be signed in to change notification settings - Fork 18
46 lines (44 loc) · 1.41 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
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@v4
- 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)
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
shell: Rscript {0}
- 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}
- name: Show install log
if: failure()
run: |
installfile <- "check/tiledb.Rcheck/00install.out"
if (file.exists(installfile)) writeLines(readLines(installfile))
shell: Rscript {0}
- name: Show check log
if: failure()
run: |
checkfile <- "check/tiledb.Rcheck/00check.log"
if (file.exists(checkfile)) writeLines(readLines(checkfile))
shell: Rscript {0}