我正在尝试在一行中安装许多软件包:
biolcite_packages <- c("Biobase", "biomaRt", "edgeR", "limma", "rhdf5", "scater",
"destiny", "monocle", "org.Hs.eg.db", "org.Mm.eg.db", "org.Rn.eg.db",
"GEOquery", "Biobase", "tximport", "EnsDb.Hsapiens.v86",
"EnsDb.Rnorvegicus.v79", "EnsDb.Mmusculus.v79", "AnnotationDbi")
BiocManager::install(c(biolcite_packages), dependencies = TRUE, ask = FALSE,
type = "both", INSTALL_opts = options(install.packages.check.source = "no"))
一段时间后,我收到以下控制台问题:
There are binary versions available but the source versions are later:
binary source needs_compilation
plotly 4.7.1 4.9.0 FALSE
umap 0.1.0.3 0.2.0.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel)
我尝试将类型更改为二进制,我添加了INSTALL_opts,ask = FALSE,似乎没有什么不同。有没有办法使响应自动化,以便脚本可以自动化? 另外,有没有办法不为已安装的软件包下载数据?