-
Notifications
You must be signed in to change notification settings - Fork 155
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
renv looks for specific library version instead of general one #1860
Comments
Are you making use of Posit package manager here? I wonder if the issue is related to the binaries served by PPM rather than an issue in
To be clear, |
I am not sure how to check if the PPM was used. I addition is it possible to still see if binaries where used or if the packages where build from source? At least I had the impression that the pacakges where installed form source. |
It seems everybody is just pushing the problem away. See related |
Sorry -- I would be able to provide better help if I could reproduce the problem locally, but thus far I have not been able to. What is the output of |
No problem, I actually already solved the problem simply by installing the specific system dependencies providing the specific In any case, when I just tried reproduce the error I got earlier with an older version of When using At least from what I can tell now, it really looks like as if the problem was simply due to |
The problem is also visible here #1834 but in a different context.
Sticking with the
sodium
andlibsodium
mentioned in the liked issue.On https://cran.r-project.org/web/packages/sodium/index.html the system requirements mention
libsodium (>= 1.0.3)
but I get the errorwhen
[email protected]
is installed. Checking whichlibsodium
version still haslibsodium.so.23
the web tells me[email protected]
. When I use this version the installation goes through.I experience the same problem when e.g. installing
sf
which requires GDAL / PROJ. Detailed information are in the sf issue r-spatial/sf#2360. Picking only the PROJ issue, they mentioned on https://cran.r-project.org/web/packages/sf/index.html thatPROJ (>= 4.8.0)
is required, but when installing withPROJ 4.9.2
present I getbecause this version comes with
updating to
PROJ 8.2.1
I get the same error because this version comes withOnly when searching online which PROJ version ships
libproj.so.15
and using that version the error goes away.So I am wondering how I should know beforehand which system dependency versions are actually required and why
renv
picks the very specific version lib instead of the.so
file (without the version), because obviously the package authors didn't specify such a narrow version requirement.The text was updated successfully, but these errors were encountered: