11.5 Package is listed in Depends
Recall from Chapter 10:
Prior to the roll-out of namespaces in R 2.14.0 in 2011,
Depends
was the only way to “depend” on another package… The most legitimate current use of Depends is to state a minimum version for R itself, e.g. Depends: R (>= 4.0.0).
Depends
shouldn’t be used for packages.. but if you do use it will be similar to Imports
e.g. your package can assume that aaapkg
will be installed but unlike Imports
, aaapkg
will be attached as well.