Downgrading R to 3.6.0 version (GOseq problem)
2
1
Entering edit mode
gdalsky ▴ 40
@gdalsky-22641
Last seen 4.9 years ago

Hi, My workstation is running Debian 10 with the default version 3.5.1 of R. I need to use the Bioconductor package "GoSeq" to perform functional enrichment tests as described in “Running GOSeq” pipeline (https://github.com/trinityrnaseq/trinityrnaseq/wiki/Running-GOSeq). I got a trouble with it. The package "GoSeq" exists only for “R version "3.6" in Bioconductor Release 3.10 which works with R version 3.6.0. After updating the R to the latest version 3.6.2 (https://community.hetzner.com/tutorials/how-to-install-r-on-debian-10) Bioconductor can’t install GoSeq with errors (below). Should I downgrade R to 3.6.0 version? If yes, how to do it in Debian?

sudo R if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("goseq") install.packages('goseq')

ERROR: dependencies ‘GenomeInfoDb’, ‘GenomicRanges’, ‘SummarizedExperiment’, ‘Rsamtools’ are not available for package ‘GenomicAlignments’ * removing ‘/usr/local/lib/R/site-library/GenomicAlignments’ ERROR: dependencies ‘RSQLite’, ‘curl’, ‘httr’ are not available for package ‘BiocFileCache’ * removing ‘/usr/local/lib/R/site-library/BiocFileCache’ ERROR: dependencies ‘GenomicRanges’, ‘GenomeInfoDb’, ‘RCurl’, ‘Rsamtools’, ‘GenomicAlignments’ are not available for package ‘rtracklayer’ * removing ‘/usr/local/lib/R/site-library/rtracklayer’ ERROR: dependencies ‘AnnotationDbi’, ‘httr’, ‘openssl’, ‘BiocFileCache’ are not available for package ‘biomaRt’ * removing ‘/usr/local/lib/R/site-library/biomaRt’ ERROR: dependencies ‘GenomeInfoDb’, ‘GenomicRanges’, ‘AnnotationDbi’, ‘RSQLite’, ‘RCurl’, ‘rtracklayer’, ‘biomaRt’ are not available for package ‘GenomicFeatures’ * removing ‘/usr/local/lib/R/site-library/GenomicFeatures’ ERROR: dependencies ‘rtracklayer’, ‘GenomicFeatures’ are not available for package ‘geneLenDataBase’ * removing ‘/usr/local/lib/R/site-library/geneLenDataBase’ ERROR: dependencies ‘geneLenDataBase’, ‘AnnotationDbi’, ‘GO.db’ are not available for package ‘goseq’ * removing ‘/usr/local/lib/R/site-library/goseq’ The downloaded source packages are in ‘/tmp/RtmpUkhEuR/downloaded_packages’ There were 20 warnings (use warnings() to see them)

sessionInfo() R version 3.6.2 (2019-12-12) Platform: x8664-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 10 (buster) Matrix products: default BLAS: /usr/lib/x8664-linux-gnu/blas/libblas.so.3.8.0 LAPACK: /usr/lib/x8664-linux-gnu/lapack/liblapack.so.3.8.0 locale: [1] LCCTYPE=enUS.UTF-8 LCNUMERIC=C
[3] LCTIME=ruRU.UTF-8 LCCOLLATE=enUS.UTF-8
[5] LCMONETARY=ruRU.UTF-8 LCMESSAGES=enUS.UTF-8
[7] LCPAPER=ruRU.UTF-8 LCNAME=C
[9] LC
ADDRESS=C LCTELEPHONE=C
[11] LC
MEASUREMENT=ruRU.UTF-8 LCIDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] BiocManager1.30.10 compiler3.6.2 tools_3.6.2

goseq installation • 2.1k views
ADD COMMENT
1
Entering edit mode
gdalsky ▴ 40
@gdalsky-22641
Last seen 4.9 years ago

Thank you for your reply, Martin. After installing libcurl4-openssl-dev with Sinaptic PM the story became a little better, but as a result, it still failed. The selected error report is below.

    > if (!requireNamespace("BiocManager", quietly = TRUE))
    +     install.packages("BiocManager")
    > 
    > BiocManager::install("goseq")
    Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.2 (2019-12-12)
    Installing package(s) 'goseq'
    also installing the dependencies ‘curl’, ‘Rhtslib’, ‘SummarizedExperiment’, ‘httr’, ‘openssl’, ‘BiocFileCache’, ‘GenomicRanges’, ‘GenomeInfoDb’, ‘RCurl’, ‘Rsamtools’, ‘GenomicAlignments’, ‘biomaRt’, ‘blob’, ‘rtracklayer’, ‘GenomicFeatures’, ‘RSQLite’, ‘geneLenDataBase’, ‘AnnotationDbi’, ‘GO.db’

 ...
 Error: .onLoad failed in loadNamespace() for 'vctrs', details:
  call: loadNamespace(name)
  error: there is no package called ‘backports’
Execution halted
ERROR: lazy loading failed for package ‘blob’
* removing ‘/usr/local/lib/R/site-library/blob’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/usr/local/lib/R/site-library/httr’
...
ERROR: dependency ‘blob’ is not available for package ‘RSQLite’
* removing ‘/usr/local/lib/R/site-library/RSQLite’
ERROR: dependencies ‘RSQLite’, ‘httr’ are not available for package ‘BiocFileCache’
* removing ‘/usr/local/lib/R/site-library/BiocFileCache’
...
ERROR: dependency ‘RSQLite’ is not available for package ‘AnnotationDbi’
* removing ‘/usr/local/lib/R/site-library/AnnotationDbi’
...
ERROR: dependencies ‘AnnotationDbi’, ‘httr’, ‘openssl’, ‘BiocFileCache’ are not available for package ‘biomaRt’
* removing ‘/usr/local/lib/R/site-library/biomaRt’
ERROR: dependency ‘AnnotationDbi’ is not available for package ‘GO.db’
* removing ‘/usr/local/lib/R/site-library/GO.db’
...
ERROR: dependencies ‘AnnotationDbi’, ‘RSQLite’, ‘biomaRt’ are not available for package ‘GenomicFeatures’
* removing ‘/usr/local/lib/R/site-library/GenomicFeatures’
ERROR: dependency ‘GenomicFeatures’ is not available for package ‘geneLenDataBase’
* removing ‘/usr/local/lib/R/site-library/geneLenDataBase’
ERROR: dependencies ‘geneLenDataBase’, ‘AnnotationDbi’, ‘GO.db’ are not available for package ‘goseq’
* removing ‘/usr/local/lib/R/site-library/goseq’
...
The downloaded source packages are in
    ‘/tmp/RtmpbnqmVF/downloaded_packages’
There were 11 warnings (use warnings() to see them)

> warnings()
Warning messages:
1: In install.packages(...) :
  installation of package ‘openssl’ had non-zero exit status
2: In install.packages(...) :
  installation of package ‘blob’ had non-zero exit status
3: In install.packages(...) :
  installation of package ‘httr’ had non-zero exit status
4: In install.packages(...) :
  installation of package ‘RSQLite’ had non-zero exit status
5: In install.packages(...) :
  installation of package ‘BiocFileCache’ had non-zero exit status
6: In install.packages(...) :
  installation of package ‘AnnotationDbi’ had non-zero exit status
7: In install.packages(...) :
  installation of package ‘biomaRt’ had non-zero exit status
8: In install.packages(...) :
  installation of package ‘GO.db’ had non-zero exit status
9: In install.packages(...) :
  installation of package ‘GenomicFeatures’ had non-zero exit status
10: In install.packages(...) :
  installation of package ‘geneLenDataBase’ had non-zero exit status
11: In install.packages(...) :
  installation of package ‘goseq’ had non-zero exit status
ADD COMMENT
0
Entering edit mode

The first error you show us says that 'backports' is not installed. So install that

BiocManager::install("backports")

and if successful try for the next one

BiocManager::install("vctrs")
ADD REPLY
1
Entering edit mode

We have a progress, just 7 warnings remained. Martin, please, tell me, how to write the R terminal output to a file? You are right, I showed not a first error.

ADD REPLY
1
Entering edit mode

Oops! We did it, Martin. After installing "libssl-dev" (Sinaptic) and "hms"

BiocManager::install("hms")

We got

* DONE (goseq)

Thank you very much. I'll test it.

ADD REPLY
0
Entering edit mode
@martin-morgan-1513
Last seen 3 months ago
United States

Review the error report and troubleshoot the first package that fails to install.

Please format your post by selecting the code chunks and pressing the icon with 0’s and 1’s.

ADD COMMENT

Login before adding your answer.

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