Skip to content
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

rchk container #29

Open
gaborcsardi opened this issue Feb 21, 2023 · 0 comments
Open

rchk container #29

gaborcsardi opened this issue Feb 21, 2023 · 0 comments

Comments

@gaborcsardi
Copy link
Collaborator

This one is tricky, because we need to keep the sources around, both for R and the package(s) we want to check.

We also need the wllvm Python package, which is not packaged for Ubuntu, so ideally we would install it together with R.

It does not seem important to use R-devel for this, so we could use R-release and Ubuntu 22.04, and binary packages, except for the packages we want to check.

C code from one package may call C code from another package, but I don't know if rchk handles this situation. If it does then LinkingTo packages should be also installed from source, with wllvm.

In general we don't actually need to install the dependencies of the checked package, only the LinkingTo dependencies, and their dependencies. This should work for most packages, but in case it does not we should fall back to the full (hard) dependency install. This is how it is done in the original rchk container: https://github.com/kalibera/rchk/blob/fbde173a84809e8159e50bdc6a03e12119634594/scripts/utils.r#L76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant