Depends and Linking to

  • Depends is the deprecated way to declare dependencies
  • These days, Depends is only used to indicate a min version of R itself: Depends: R (>= 4.0.0)
    • Main takeaway: if you state the minimum R version, have a reason & take reasonable measures to test your claim regularly
  • Linking to indicates if your packages uses C or C++ code from another package.
  • Enhances = packages are ‘enhanced’ by your package
    • It’s sometimes hard to define this so we recommend not to use it.