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

Multiple errors and unavailable packages when trying to install TCGAWorkflow #12

Open
leowill01 opened this issue Nov 5, 2020 · 3 comments

Comments

@leowill01
Copy link

leowill01 commented Nov 5, 2020

I'm doing a fresh install of R/RStudio. When I go to install TCGAWorkflow, I get several errors. Here is a summary of all the error lines when running BiocManager::install("TCGAWorkflow"):

1. Warning: dependencyMotIVis not available
2. download from 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz' failed
3. downloaded length 687399349 != reported length 710245413
4. URL 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz': Timeout of 60 seconds was reached
5. download of packageBSgenome.Hsapiens.UCSC.hg19failed
6. there is no package calledGenomeInfoDbData7. ERROR: lazy loading failed for packageTCGAWorkflowData8. ERROR: dependenciesBSgenome.Hsapiens.UCSC.hg19’, ‘MotIV’, ‘TCGAWorkflowDataare not available for packageTCGAWorkflow9. installation of packageTCGAWorkflowDatahad non-zero exit status
10. installation of packageTCGAWorkflowhad non-zero exit status 

And here is the full console output when trying to install TCGAWorkflow (with error lines marked with "**********"):

> BiocManager::install("TCGAWorkflow")
Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.3 (2020-10-10)
Installing package(s) 'TCGAWorkflow'
Warning: dependencyMotIVis not available ********************
also installing the dependenciesBSgenome.Hsapiens.UCSC.hg19’, ‘TCGAWorkflowDatainstalling the source packagesBSgenome.Hsapiens.UCSC.hg19’, ‘TCGAWorkflowData’, ‘TCGAWorkflowtrying URL 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz'
Content type 'application/x-gzip' length 710245413 bytes (677.3 MB)
================================================
downloaded 655.6 MB

Error in download.file(url, destfile, method, mode = "wb", ...) : 
  download from 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz' failed ********************
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
  downloaded length 687399349 != reported length 710245413 ********************
2: In download.file(url, destfile, method, mode = "wb", ...) :
  URL 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz': Timeout of 60 seconds was reached ********************
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  download of packageBSgenome.Hsapiens.UCSC.hg19failed ********************
trying URL 'https://bioconductor.org/packages/3.12/data/experiment/src/contrib/TCGAWorkflowData_1.14.0.tar.gz'
Content type 'application/x-gzip' length 81290283 bytes (77.5 MB)
==================================================
downloaded 77.5 MB

trying URL 'https://bioconductor.org/packages/3.12/workflows/src/contrib/TCGAWorkflow_1.13.0.tar.gz'
Content type 'application/x-gzip' length 5282161 bytes (5.0 MB)
==================================================
downloaded 5.0 MB

* installing *source* packageTCGAWorkflowData...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package calledGenomeInfoDbData********************
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for packageTCGAWorkflowData********************
* removing/Library/Frameworks/R.framework/Versions/4.0/Resources/library/TCGAWorkflowDataERROR: dependenciesBSgenome.Hsapiens.UCSC.hg19’, ‘MotIV’, ‘TCGAWorkflowDataare not available for packageTCGAWorkflow********************
* removing/Library/Frameworks/R.framework/Versions/4.0/Resources/library/TCGAWorkflowThe downloaded source packages are in/private/var/folders/gn/0t2vgsl9305g1gm65mh6fbq40000gn/T/Rtmp3rtSe0/downloaded_packagesOld packages: 'codetools', 'KernSmooth', 'nlme'
Update all/some/none? [a/s/n]: 
a

  There is a binary version available but the source version is later:
          binary source needs_compilation
codetools 0.2-16 0.2-18             FALSE

trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/KernSmooth_2.23-18.tgz'
Content type 'application/x-gzip' length 100133 bytes (97 KB)
==================================================
downloaded 97 KB

trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/nlme_3.1-150.tgz'
Content type 'application/x-gzip' length 2379858 bytes (2.3 MB)
==================================================
downloaded 2.3 MB


The downloaded binary packages are in
	/var/folders/gn/0t2vgsl9305g1gm65mh6fbq40000gn/T//Rtmp3rtSe0/downloaded_packages
installing the source packagecodetoolstrying URL 'https://cran.rstudio.com/src/contrib/codetools_0.2-18.tar.gz'
Content type 'application/x-gzip' length 38175 bytes (37 KB)
==================================================
downloaded 37 KB

* installing *source* packagecodetools...
** packagecodetoolssuccessfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (codetools)

The downloaded source packages are in/private/var/folders/gn/0t2vgsl9305g1gm65mh6fbq40000gn/T/Rtmp3rtSe0/downloaded_packagesWarning messages:
1: In install.packages(...) :
  installation of packageTCGAWorkflowDatahad non-zero exit status ********************
2: In install.packages(...) :
  installation of packageTCGAWorkflowhad non-zero exit status ********************
> 

I'm not sure where to start. I previously had TCGAWorkflow "installed" and was working through some of the vignettes, but it's likely I just didn't notice all these errors when I had installed it previously.

Here's my sessionInfo() for reference:

> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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.3      tools_4.0.3        

Any help would be appreciated, thanks.

@rbtoscan
Copy link

Have you found the solution yet?

@leowill01
Copy link
Author

@rbtoscan no i gave up and havent felt the need to try again

@tiagochst
Copy link
Collaborator

Did you try installing GenomeInfoDbData package ? BiocManager::install("GenomeInfoDbData")
Also Bioconductor 3.12 is from 3 years ago. I would update to the latest version 3.17.

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

3 participants