Imports & Suggests

  • Imports:
    • you use package::function() in your code
    • hence your package users will need the imported package at runtime
    • will be installed or updated when users install your package
    • library() will complain if the available version is below the one that the package requires
  • Suggests:
    • packages needed for dev tasks, vignettes, tests, other optional functionality (not required)
  • Both use comma-separated list of package names (ideally 1 pkg/line, alphabetical)