Error: Bioconductor version cann
2019-06-19 本文已影响0人
天涯清水
软件安装
options()$repos
options()$BioC_mirror
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/")
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
options()$repos
options()$BioC_mirror
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
library(BiocManager)
BiocManager::install(c(" ALL","CLL","pasilla","airway" ),ask = F,update = F) #数据包,ask=F表示不询问中间过程和不升级
出现如下错误:
Error: Bioconductor version cannot be validated; no internet connection?
按照网上的帖子:
options(BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS=FALSE)
#or
Sys.setenv(BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS=FALSE)
解决不了,有些帖子提到是防火墙的问题,我设置了一下防火墙,允许Rstudio和R通过防火墙,再次安装软件包,问题解决。
BiocManager::install(c(" ALL","CLL","pasilla","airway" ),ask = F,update = F) #数据包,ask=F表示不询问中间过程和不升级
Bioconductor version 3.10 (BiocManager 1.30.4), R 3.6.0 (2019-04-26)
Installing package(s) ' ALL', 'CLL', 'pasilla', 'airway'
installing the source packages ‘CLL’, ‘pasilla’, ‘airway’
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/CLL_1.25.0.tar.gz'
Content type 'application/gzip' length 16658238 bytes (15.9 MB)
downloaded 15.9 MB
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/pasilla_1.13.0.tar.gz'
Content type 'application/gzip' length 3869153 bytes (3.7 MB)
downloaded 3.7 MB
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/airway_1.5.0.tar.gz'
Content type 'application/gzip' length 11756641 bytes (11.2 MB)
downloaded 11.2 MB
* installing *source* package 'CLL' ...
** using staged installation
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'CLL'
finding HTML links ... done
CLL-package html
CLLbatch html
disease html
nsFilter html
sCLLex html
sFiltert html
sFiltertBH html
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (CLL)
* installing *source* package 'pasilla' ...
** using staged installation
** data
** inst
** help
*** installing help indices
converting help for package 'pasilla'
finding HTML links ... done
pasillaExons html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (pasilla)
* installing *source* package 'airway' ...
** using staged installation
** data
** inst
** help
*** installing help indices
converting help for package 'airway'
finding HTML links ... done
airway html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Warning: multiple methods tables found for 'splitAsList'
*** arch - x64
Warning: multiple methods tables found for 'splitAsList'
** testing if installed package can be loaded from final location
*** arch - i386
Warning: multiple methods tables found for 'splitAsList'
*** arch - x64
Warning: multiple methods tables found for 'splitAsList'
** testing if installed package keeps a record of temporary installation path
* DONE (airway)