Dependencies

Development tools like devtools::check() and renv::status() may be able to find the missing dependencies. Most often, these happen when you library(something) interactively and it is easily available to you when you write and execute the code.

Dependencies is the topic of the whole next chapter (Ch10).

Declaring a minimum version number…

  • ensures that the end users will get the functionality they need, but…
  • adds to frustration on enclosed environments where only system administrators have the privileges to install.packages()
  • adds to the frustration of projects with tightly balanced version dependencies