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’
BiocParallel is missing, could you try install it ?
Thank you very much. It worked nicely.
Can you add your
sessionInfo()
Yes, please find the attached.