简体   繁体   English

半小时后Bioconductor更新一直更新失败

[英]Bioconductor update keeps failing to update after a half hour

I'm working with R and need to install some packages.我正在使用 R 并需要安装一些软件包。

> BiocManager::install( c( list, of, packages) )
    Error: Bioconductor version '3.13' requires R version '4.1'; use
    `BiocManager::install(version = '3.16')` with R version 4.2; see
    https://bioconductor.org/install                                                                                                                                                                                                                                                                  

ok, so I need to update bioconductor.好的,所以我需要更新 bioconductor。 No problem:没问题:

BiocManager::install(version = '3.16')

At this point I get an absolute torrent of text output to my terminal for over half an hour.在这一点上,我的终端得到了半个多小时的文本输出的绝对洪流 It ends with this:它以此结尾:

** testing if installed package can be loaded from temporary location
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
    * DONE (ggpubr)
    The downloaded source packages are in        
        ‘/tmp/Rtmpu3HGq9/downloaded_packages’
    Error in .install_github(todo, lib = lib, lib.loc = lib.loc, repos = repos,  :
        argument "update" is missing, with no default
    In addition: Warning message: 
    package(s) not installed when version(s) same as or greater than current; use  
        `force = TRUE` to re-install: 'BiocVersion'   

So I do it again with the "force" option, but the process insists on starting all over again from scratch, so I have to wait another half-hour and get the same problem.所以我用“强制”选项重新做了一遍,但是这个过程坚持从头开始,所以我不得不再等半小时,得到同样的问题。 I've done this almost a dozen times now with variations on the command and environment settings and this is eating up days of work time.我已经用不同的命令和环境设置完成了将近十几次,这占用了好几天的工作时间。

I also noticed another message in the output:我还注意到输出中的另一条消息:

Warning: unable to access index for repository https://bioconductor.org/packages/3.16/bioc/src/contrib:
     cannot open URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/PACKAGES'

Am I being blocked by some internal network?我是否被某些内部网络阻止了? I've also tried setting a proxy with Sys.setenv(http_proxy="[proxyAddress]:[port]")我还尝试使用Sys.setenv(http_proxy="[proxyAddress]:[port]")设置代理

To no avail.无济于事。 I'm Running out of ideas and would much appreciate any help.我的想法用完了,非常感谢任何帮助。

This issue is discussed here: https://github.com/Bioconductor/BiocManager/issues/142 .这个问题在这里讨论: https ://github.com/Bioconductor/BiocManager/issues/142。 Basically it will be fixed in the next release of BiocManager, which is whatever comes after 1.30.19.基本上它将在 BiocManager 的下一个版本中修复,即 1.30.19 之后的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM