I am having the error during installation. not sure what I am missing since I am using the BiocManager
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("gdsfmt")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")'
for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.14 (BiocManager 1.30.20), R 4.1.1 (2021-08-10)
Installing package(s) 'gdsfmt'
trying URL 'https://bioconductor.org/packages/3.14/bioc/bin/windows/contrib/4.1/gdsfmt_1.30.0.zip'
Content type 'application/zip' length 3040355 bytes (2.9 MB)
downloaded 2.5 MB
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 2650112 != reported length 3040355
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 'gdsfmt/DESCRIPTION', probable reason 'No such file or directory'
BiocManager::install("SNPRelate")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")'
for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.14 (BiocManager 1.30.20), R 4.1.1 (2021-08-10)
Installing package(s) 'SNPRelate'
also installing the dependency ‘gdsfmt’
I am having the error during installation. not sure what I am missing since I am using the BiocManager
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 2650112 != reported length 3040355 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 'gdsfmt/DESCRIPTION', probable reason 'No such file or directory'
trying URL 'https://bioconductor.org/packages/3.14/bioc/bin/windows/contrib/4.1/gdsfmt_1.30.0.zip' Content type 'application/zip' length 3040355 bytes (2.9 MB) downloaded 2.9 MB
trying URL 'https://bioconductor.org/packages/3.14/bioc/bin/windows/contrib/4.1/SNPRelate_1.28.0.zip' Content type 'application/zip' length 3301488 bytes (3.1 MB) downloaded 3.1 MB
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 3031040 != reported length 3040355 2: In download.file(url, destfile, method, mode = "wb", ...) : downloaded length 3276800 != reported length 3301488 3: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file 4: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open compressed file 'gdsfmt/DESCRIPTION', probable reason 'No such file or directory'