Why BiocManager try to reinstall dependencies already installed?
1
0
Entering edit mode
MatthewP • 0
@matthewp-21562
Last seen 3.8 years ago
China

geneplotter is installed but BiocManager::install function will still try to download and install, how to change such behave? Because my connetion is very bad.

> packageVersion("geneplotter")
[1] ‘1.64.0’
> BiocManager::install("GSVA")                                                                
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'GSVA'
also installing the dependencies ‘geneplotter’, ‘shinythemes’

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/geneplotter_1.64.0.tar.gz'
Content type 'application/x-gzip' length 1431450 bytes (1.4 MB)
=
R • 1.1k views
ADD COMMENT
1
Entering edit mode
Robert Castelo ★ 3.4k
@rcastelo
Last seen 3 days ago
Barcelona/Universitat Pompeu Fabra

hi,

This is likely to be caused by having your package library distributed across multiple directories. Could you give the output of the function .libPaths()?

ADD COMMENT
0
Entering edit mode

Here:

> .libPaths()
[1] "/share/Data01/pengguoyu/App/anaconda2/envs/scRNA/lib/R/library"
>

I have many anaconda environments for different project.

ADD REPLY
1
Entering edit mode

I also have only one package library path and I cannot reproduce this problem. So, this is then likely to be associated with your specific installation setup, such as what you mention about having different anaconda environments. Unfortunately, I have no experience with those and cannot give further advice. In any case, this does not look as a Bioconductor specific problem. If nobody else here gives you any further hint, you may have better luck asking in some anaconda specific forum or some other more general support site such as biostars or stackoverflow. If you end up following that path, please link to this post to let people know where you've already asked about this.

ADD REPLY
1
Entering edit mode

I think the recommended advice is that if you've installed R via conda then you also want to use conda to install packages, rather than using BiocManager.

ADD REPLY

Login before adding your answer.

Traffic: 706 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6