Skip to content

Commit 463cb34

Browse files
committed
macOS CI/CD not currently working
1 parent 5a65c7d commit 463cb34

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/check-bioc.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,21 @@ jobs:
195195
BiocManager::repositories()
196196
) else BiocManager::repositories()
197197
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"))
200210
install.packages(c("rmarkdown", "RPostgres", "RMySQL"))
201211
212+
202213
## For running the checks
203214
message(paste('****', Sys.time(), 'installing rcmdcheck and BiocCheck ****'))
204215
install.packages(c("rcmdcheck", "BiocCheck"), repos = gha_repos)

0 commit comments

Comments
 (0)