BiocManager::install()报错
错误示例:
> BiocManager::install("sva")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.12 (BiocManager 1.30.13), R 4.0.5 (2021-03-31)
Installing package(s) 'BiocVersion', 'sva'
also installing the dependency ‘genefilter’
Error in readRDS(dest) : error reading from connection
错误原因: BiocManager
包自身存在的bug,可以使用其他开发版本的代替
解决方案:
install.packages("devtools") # unnecessary if you have it already
devtools::install_github("Bioconductor/BiocManager", ref="ghost-binary-repo")
安装后重新启动R
注意:该方法目前是可以用的,后续是否可以使用未知