-
Notifications
You must be signed in to change notification settings - Fork 12
206 lines (154 loc) · 5.5 KB
/
R-CMD-check.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [dev]
pull_request:
branches: [dev]
name: R-CMD-check.yaml
permissions: read-all
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- name: Install reticulate
run: |
Rscript -e "install.packages('reticulate')"
- name: Create miniconda
run: |
Rscript -e "reticulate::install_miniconda()"
Rscript -e "reticulate::conda_install(packages = 'scipy')"
- name: Install pak
run: |
Rscript -e "install.packages('pak')"
- name: Install remotes
run: |
Rscript -e "install.packages('remotes')"
- name: Install GiottoUtils
run: |
Rscript -e "remotes::install_github('drieslab/GiottoUtils@dev')"
- name: Install GiottoData
run: |
Rscript -e "remotes::install_github('drieslab/GiottoData')"
- name: Install rcmdcheck
run: |
Rscript -e "install.packages('rcmdcheck')"
- name: Install knitr
run: |
Rscript -e "install.packages('knitr')"
- name: Install rmarkdown
run: |
Rscript -e "install.packages('rmarkdown')"
- name: Install testthat
run: |
Rscript -e "install.packages('testthat')"
- name: Install BiocCheck
run: |
Rscript -e "install.packages('BiocManager')"
Rscript -e "BiocManager::install('BiocCheck')"
- name: Install dbscan
run: |
Rscript -e "BiocManager::install('dbscan')"
- name: Install deldir
run: |
Rscript -e "BiocManager::install('deldir')"
- name: Install igraph
run: |
Rscript -e "BiocManager::install('igraph')"
- name: Install magick
run: |
Rscript -e "BiocManager::install('magick')"
- name: Install matrixStats
run: |
Rscript -e "BiocManager::install('matrixStats')"
- name: Install sp
run: |
Rscript -e "BiocManager::install('sp')"
- name: Install terra
run: |
Rscript -e "BiocManager::install('terra')"
- name: Install scattermore
run: |
Rscript -e "install.packages('scattermore')"
- name: Install exactextractr
run: |
Rscript -e "install.packages('exactextractr')"
- name: Install future.apply
run: |
Rscript -e "BiocManager::install('future.apply')"
- name: Install stars
run: |
Rscript -e "BiocManager::install('stars')"
- name: Install qs
run: |
Rscript -e "BiocManager::install('qs')"
- name: Install RTriangle
run: |
Rscript -e "BiocManager::install('RTriangle')"
- name: Install geometry
run: |
Rscript -e "BiocManager::install('geometry')"
- name: Install Seurat
run: |
Rscript -e "BiocManager::install('Seurat')"
- name: Install chihaya
run: |
Rscript -e "BiocManager::install('chihaya')"
- name: Install DelayedArray
run: |
Rscript -e "BiocManager::install('DelayedArray')"
- name: Install DelayedMatrixStats
run: |
Rscript -e "BiocManager::install('DelayedMatrixStats')"
- name: Install HDF5Array
run: |
Rscript -e "BiocManager::install('HDF5Array')"
- name: Install rgl
run: |
Rscript -e "BiocManager::install('rgl')"
- name: Install rhdf5
run: |
Rscript -e "BiocManager::install('rhdf5')"
- name: Install S4Vectors
run: |
Rscript -e "BiocManager::install('S4Vectors')"
- name: Install ScaledMatrix
run: |
Rscript -e "BiocManager::install('ScaledMatrix')"
- name: Install SingleCellExperiment
run: |
Rscript -e "BiocManager::install('SingleCellExperiment')"
- name: Install SpatialExperiment
run: |
Rscript -e "BiocManager::install('SpatialExperiment')"
- name: Install STexampleData
run: |
Rscript -e "BiocManager::install('STexampleData')"
- name: Install SummarizedExperiment
run: |
Rscript -e "BiocManager::install('SummarizedExperiment')"
- name: Run BiocCheck
run: |
Rscript -e "BiocCheck::BiocCheck()"
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'