@@ -195,10 +195,21 @@ jobs:
195
195
BiocManager::repositories()
196
196
) else BiocManager::repositories()
197
197
198
- # install suggested packages
199
- BiocManager::install(c("MSnbase", "xcms", "BiocStyle", "msPurityData", "CAMERA"))
198
+ # Workaround for problems with cached S4objects in binary packages
199
+ BiocManager::install("GenomeInfoDb", force = TRUE, type = "source")
200
+ BiocManager::install("BiocParallel", force = TRUE, type = "source")
201
+ BiocManager::install("S4Vectors", force = TRUE, type = "source")
202
+ BiocManager::install("SummarizedExperiment", force = TRUE, type = "source")
203
+ ## install xcms with dependencies - to ensure dependencies are installed from source;
204
+ ## somehow install_local installs binary packages instead.
205
+ BiocManager::install("mzR", force = TRUE)
206
+ BiocManager::install("MSnbase", force = TRUE, type = "source")
207
+ BiocManager::install("xcms", force = TRUE, type = "source", dependencies = TRUE)
208
+
209
+ BiocManager::install(c("BiocStyle", "msPurityData", "CAMERA"))
200
210
install.packages(c("rmarkdown", "RPostgres", "RMySQL"))
201
211
212
+
202
213
## For running the checks
203
214
message(paste('****', Sys.time(), 'installing rcmdcheck and BiocCheck ****'))
204
215
install.packages(c("rcmdcheck", "BiocCheck"), repos = gha_repos)
0 commit comments