Skip to content

Consider adding packages to dependencies

This would mean missing packages would be installed when coReSCF is installed. A few things to keep in mind

  • there are many packages which are needed directly for our functions, or indirectly for the workflow and it is hard to know which one is which.
  • We would need to defined the dependencies' versions, which is good practice for package version control, but it could lead to dependency hell. I would look in the logs of older project to see the minimum required versions. It could be either:
    • Imports, which just loads the package or
    • Depends which attaches it (similar to calling library(pkg))
  • another alternative would be to create a function load_core which would need to be called at the start of each script to attach all packages we need for our workflows, instead of having this silently inside .onAttach.

I will need some input on this.

Edited by domingue