-
Notifications
You must be signed in to change notification settings - Fork 14
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
Missing dependency libgsl.so #127
Comments
Hello @trevorcampbell Thank you for the report, and the fine detective work! When looking at the error message we see pak::pkg_deps_explain("tidyclust", "RcppZiggurat")
#> ℹ Loading metadata database
#> ✔ Loading metadata database ... done
#>
#> tidyclust -> Rfast -> RcppZiggurat I would suggest you file an issue over in that repository https://github.com/eddelbuettel/rcppziggurat |
I take the other side in eddelbuettel/rcppziggurat#19 |
What must have happened here is that a installation notice and error, likely from RcppGSL which has the 'hard' GSL dependendy, was ignored. What we have here is the usual issue of an R installation being unable to guarantee a system dependency. The minimally verifiable complete example given is based on rocker/r-verse which uses PPM/RSPM to install, and that can no 'real' connection to the system. If we use rocker/r2u, which does, it all works. |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
Hi there!
I've been playing around with
tidyclust
, and it looks really neat. I think I found a missing dependency oflibgsl.so
-- it's a bit of an unlikely case, because most machines will already have it, but I'm running things in a pared down Docker container which didn't have it originally.Reprex
If I build this Dockerfile (there are probably more packages than necessary to reproduce there, but this was the Dockerfile for the image I was working with):
and run the following code
where
penguins.csv
containsI get the following error:
Investigating it a bit, I see that
libgsl.so
appears to be missing. I would expecttidyclust
to install that as a dependency when it's installed.If I then run
in the container and then re-run the above R code, everything seems to work OK.
Versions
The text was updated successfully, but these errors were encountered: