Does R provides a dependency management tool?

I think you will be interested in the Package Management channel. I will move your thread there.

This is also related to a topic there

Here is a list of tools that I know of and that could be useful to you

  • packrat from rstudio is a great way to isolate environment. it uses a packrat.lock file for storing dependencies
  • jetpack is designed as a CLI, above packrat. Another approach really interesting, that uses a DESCRIPTION file - the same used for package.
  • rsuite , a more integrated solution
  • automagic uses a deps.yaml to then automatically install missing dependency.
  • deplearning which will scan a code to identify missing dependencies
  • autoinst does basically the same. Install missing dependencies.

based on the way you asked your question, the two first could be of interest to you.

Personnaly, I currently use packrat for dependencies management to prepare deployment.

4 Likes