Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation 3.13.2023 #100

Open
bechee opened this issue Mar 13, 2023 · 0 comments
Open

Error during installation 3.13.2023 #100

bechee opened this issue Mar 13, 2023 · 0 comments

Comments

@bechee
Copy link

bechee commented Mar 13, 2023

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’

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'

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant