PackageNeedsUpdating.RdThis function will indicate whether a package needs to be updated. It uses the old.packages function for this.
PackageNeedsUpdating(pkgs)
| pkgs | Character vector of package names. |
|---|
A logical vector indicating whether the packages need to be updated.
if (FALSE) { PackageNeedsUpdating("ggplot2") }