diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index ddf221d..2d42122 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -195,10 +195,21 @@ jobs: BiocManager::repositories() ) else BiocManager::repositories() - # install suggested packages - BiocManager::install(c("MSnbase", "xcms", "BiocStyle", "msPurityData", "CAMERA")) + # Workaround for problems with cached S4objects in binary packages + BiocManager::install("GenomeInfoDb", force = TRUE, type = "source") + BiocManager::install("BiocParallel", force = TRUE, type = "source") + BiocManager::install("S4Vectors", force = TRUE, type = "source") + BiocManager::install("SummarizedExperiment", force = TRUE, type = "source") + ## install xcms with dependencies - to ensure dependencies are installed from source; + ## somehow install_local installs binary packages instead. + BiocManager::install("mzR", force = TRUE) + BiocManager::install("MSnbase", force = TRUE, type = "source") + BiocManager::install("xcms", force = TRUE, type = "source", dependencies = TRUE) + + BiocManager::install(c("BiocStyle", "msPurityData", "CAMERA")) install.packages(c("rmarkdown", "RPostgres", "RMySQL")) + ## For running the checks message(paste('****', Sys.time(), 'installing rcmdcheck and BiocCheck ****')) install.packages(c("rcmdcheck", "BiocCheck"), repos = gha_repos)