-
Notifications
You must be signed in to change notification settings - Fork 54
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
Missed dependencies on GCC13 and GCC14 images #642
Comments
LinkingTo dependencies are only needed when a package is compiled from source. They are not needed when installing binary packages. If rstan needs BH at runtime, i could add it as an See e.g. on macOS, where all packages have binaries available:
Turning off the binaries:
|
Apologies I am slightly confused by
Wouldn't this be an update on rstan's side ? |
Yes, sorry, typo. |
Ah no worries, sure I'll raise an issue on their page. I must say I am slightly conflicted though, whilst I agree and understand the logic that LinkingTo isn't needed for binary packages as it lists stuff required at install time I feel this is likely to crop up in the future as it semi-conflicts with base That being said I am confused as to why this issue came up on the 2 GCC images but not the Clang or Atlas one 😕 |
Only if it is not installing binaries:
It depends on which packages we are installing from binaries. IDK what rstan does with BH, but if people need BH to use rstan, then it is better to at least Suggest it, because otherwise people one some platforms (Windows, macOS) will not have it installed, potentially. |
Interesting... When I just tested this using the Posit Package Manager on a Fedora container it still installed BH, unless I've misunderstood or set this up incorrectly sorry options(
"repos" = list("CRAN" = "https://packagemanager.posit.co/cran/__linux__/centos8/latest"),
"HTTPUserAgent" = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"]))
)
.libPaths("./rpkg", include.site = FALSE)
install.packages("rstan")
|
Ya agreed, I made a corresponding issue for them to update this on their repo stan-dev/rstan#1140 |
|
But yer this is definitely an rstan issue so will close this :) |
Hey,
Currently trying to run our tests using Rhub but we appear to be getting issues due to missed dependencies on the GCC13 and GCC14 images (other images such as Clang19 and Atlas run fine)
https://github.com/insightsengineering/rbmi/actions/runs/11362703172/job/31605118630#step:5:1762
In particular it seems to be missing the
BH
dependency from the lock file despite it being in theLinkingTo:
section ofrstan
which our package has in it's suggests.I suspect this is more a
pak
issue but I struggled to work out if the issue was inpak
or the pipeline code itself sorry.The text was updated successfully, but these errors were encountered: