-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failed with error: ‘package ‘S4Vectors’ required by ‘pagoo’ could not be found’ #56
Comments
Thank you. |
Another option would be to try to install those dependencies packages from source, an then try to install pagoo again. |
Thank you for these alternatives, however, I tried to install pagoo on versions 3.4.4, 3.5.3 and 3.6.3, all of these versions don´t have pagoo available (that is the message from R). On another hand, 4.0.5 and 4.1.3 said:
I think that the real problem is the Bioconductor packages
What version are you using right now (R)? |
I going to install a conda environment using a specific R version that I hope works with pagoo |
Argh.. the dependency hell. I'm personally using R 4.0.5, but the continuous integration pipeline builds it on R 4.2.0 (on MacOS), so it should work. and specifically for ARM64 MacOS:
Still investigating.. |
What does it says when you try to install install.packages("S4Vectors") |
It said this:
So, I think that the problem maybe is (1) with the version or with (2) my macbook (m1). |
However, I going to try to use a conda environment with R. I hope that works |
Apparently Bioconductor still doesn't support Apple's chip compilation yet, from what I have read. |
Thank you for your time. Well, unfortunately, you are right with M1. I going to work with alternatives. |
I created a virtual environment with conda (r version 4.2.0) and then I used:
All was good, however, when I try to install pagoo:
I really don't understand why doesn't work even in a virtual environment. |
Given that the problem is the lack of compiled binaries for that architecture, I think it is reasonable to expect it to doesn't work. I don't have experience with Rosetta, but for what I read, it could be a good alternative, as the link I gave you above says. In this reddit thread they recommend using Rosetta also. |
Just chipping in that the source versions of those 3 problematic Bioconductor dependencies (‘S4Vectors’, ‘Biostrings’, ‘GenomicRanges’) seem to be resolved on R4.2.0 (architecture issue cited above notwithstanding). BiocManager::install() was enough for S4Vectors and Biostrings. For GenomicRanges it was necessary to compile from the source but it was pretty straightforward. Hope that can help someone else! and thanks @iferres for developing Pagoo |
Thank you!! |
I´m trying to install a specific package "pagoo", so I use the following command:
The last package is the problem: pagoo. When I tried to install it, there is an error:
So, first I tried to install pagoo from the source (which doesn´t work), then install S4Vectors from Bioconductor (which doesn´t work too). The following warning appears:
From github (devtools::install_github('iferres/pagoo')):
In case you need to know the Bioconductor version: 3.16 Now, I don´t know how to install this package. Any new ideas?
sessionInfo( )
The text was updated successfully, but these errors were encountered: