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

Allow users to register bespoke system dependencies #145

Open
nuest opened this issue Jul 17, 2019 · 0 comments
Open

Allow users to register bespoke system dependencies #145

nuest opened this issue Jul 17, 2019 · 0 comments

Comments

@nuest
Copy link
Member

nuest commented Jul 17, 2019

The best option is sysreqs. If that does not work I see this option:

Ask users to create a PR based on a template for bespoke installation functions

containerit::bespoke_instructions <- list()
containerit::bespoke_instructions["myPkg"] <- list(Run(..), Run_shell(..))

Users could also register more complex instructions at runtime, e.g.

register_bespoke_system_deps(packageName = "sf", FUN = function() {...})

See unused function .install_sf_with_outdated_system_deps for an example that is no longer used/required.

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