containerit icon indicating copy to clipboard operation
containerit copied to clipboard

Allow users to register bespoke system dependencies

Open nuest opened this issue 4 years ago • 0 comments

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.

nuest avatar Jul 17 '19 12:07 nuest