powered by
This function will indicate whether a package needs to be updated. It uses the old.packages function for this.
PackageNeedsUpdating(pkgs)
Character vector of package names.
A logical vector indicating whether the packages need to be updated.
# NOT RUN { # } # NOT RUN { PackageNeedsUpdating("ggplot2") # } # NOT RUN { # }
Run the code above in your browser using DataLab