Failing to install DEP package. Some strange error.
0
0
Entering edit mode
tpm • 0
@tpm-23631
Last seen 3.4 years ago
Netherlands

Hello. I am trying to install the DEP package on R. Somehow, I when I run this code below, I get this strange error. Maybe someone knows how to deal with this issue? Thank you in advance.

 if (!requireNamespace("BiocManager", quietly=TRUE))
      install.packages("BiocManager")
    BiocManager::install("DEP")

    library("DEP")

Then the error message:

Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection In addition: Warning messages: 1: In download.file(url, destfile, method, mode = "wb", ...) : downloaded length 471040 != reported length 1870917 2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file 3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open compressed file 'BiocParallel/DESCRIPTION', probable reason 'No such file or directory'

library("DEP") Error in library("DEP") : there is no package called ‘DEP’

R Bioconductor Install DEP • 1.8k views
ADD COMMENT
1
Entering edit mode

BiocParallel is missing, could you try install it ?

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BiocParallel")
ADD REPLY
0
Entering edit mode

Thank you very much. It worked nicely.

ADD REPLY
0
Entering edit mode

Can you add your sessionInfo()

ADD REPLY
0
Entering edit mode

Yes, please find the attached.

sessionInfo() R version 4.0.4 (2021-02-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] BiocManager_1.30.10 compiler_4.0.4 tools_4.0.4

ADD REPLY

Login before adding your answer.

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