Entering edit mode
N.D.Hubot
•
0
@user-24140
Last seen 4.1 years ago
Hello,
I am struggling a lot to install the "GenomeInfoDbData" package. I don't know what is wrong but I think it might be related to the dependency with the package "colorspace". Do you have an idea about how I could install it?
Thanks in advance for your answer.
Code should be placed in three backticks as shown below
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("GenomeInfoDbData")
> BiocManager::install("GenomeInfoDbData")
Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.3 (2020-10-10)
Installing package(s) 'GenomeInfoDbData'
installing the source package ‘GenomeInfoDbData’
trying URL 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/GenomeInfoDbData_1.2.4.tar.gz'
Content type 'application/x-gzip' length 10673545 bytes (10.2 MB)
downloaded 10.2 MB
The downloaded source packages are in
‘C:\Users\ndh1n17\AppData\Local\Temp\RtmpMXYzOd\downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘GenomeInfoDbData’ had non-zero exit status
Was this the complete output? Was there a warning or ERROR that lead you to believe that it was
colorspace
? You could try just installing colorspace to see if there is an ERROR.BiocManager::install
will install any CRAN or Bioconductor so you could tryBiocManager::install('colorspace')
and if installs correctly then try GenomeInfoDbData again. If you continue to have trouble, could you also tryBiocManager::valid()
to see what the output of that says as well as any additional output from the install call.Hi shepherl, Thanks for your answer. Yes that was the complete output. I was suspecting
colorspace
was responsible because I was struggling to install it too and had dependencies problems affecting the loading ofggplot2
anddada2
. Now I have managed to install the old version ofcolorspace
but I am still able to install theGenomeInfoDbData
package.Below is the output. I have tried to run the command suggested in the
BiocManager::valid()
but it is still not installing.Do you have Rtools installed? Without that you won't be able to install source packages on Windows.
yes I have Rtools 4.0 installed
"C:\rtools40\usr\bin\make.exe"
Did you ever find a solution to this? I am having a similar issue and I have Rtools 4.0 installed.
Just to clarify: You don't necessarily need Rtools to install source packages on Windows, only if the packages to install need compilation. However, _data_ packages (annotation or experiment) never need compilation so Rtools is not required for any of them (this includes GenomeInfoDbData). This is why we don't produce Windows or Mac binaries for these packages.
H.
Can you post the full output of what you are seeing?
Also, if you have old installations of packages in other directories that you don't have write access to, R will try to update them.
This may have been fixed / hidden in newer versions of BiocManager.