Cannot install DiffBind on R3.5 due to amap dependency
1
0
Entering edit mode
Ian • 0
@ian-23882
Last seen 2.1 years ago
United Kingdom

Hi,

I have tried to install DiffBind under R3.5.1 (Rstudio), but I cannot as the dependency amap requires R3.6. Is this a known problem? Is there a work around for using R3.5?

Error msg installing DiffBind:

BiocManager::install("DiffBind") ...
ERROR: dependency ‘amap’ is not available for package ‘DiffBind’
...

Error msg installing amap:

install.packages('amap')
Installing package into ‘/home/ian/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘amap’ is not available (for R version 3.5.0)

https://cran.r-project.org/web/packages/amap/index.html https://bioconductor.org/packages/release/bioc/html/DiffBind.html

Thank you, Ian

DiffBind ama • 889 views
ADD COMMENT
2
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 19 hours ago
Cambridge, UK

It is always a challenge to keep a complex package environment working with old versions of R. If possible, you should move to a more current version of R.

If for some reason you are unable to do so, you can try downloading a previous version of amap that doesn't require R 3.6 or later, and install that. It looks like that newest verison you can use is amap 0.8-16, which can be found in the amap archive on the CRAN site:

https://cran.r-project.org/src/contrib/Archive/amap/

Good luck!

ADD COMMENT
0
Entering edit mode

Many thanks, exactly what I needed!

ADD REPLY

Login before adding your answer.

Traffic: 564 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