Learn R Programming

raw (version 0.1.8)

PackageNeedsUpdating: PackageNeedsUpdating

Description

This function will indicate whether a package needs to be updated. It uses the old.packages function for this.

Usage

PackageNeedsUpdating(pkgs)

Arguments

pkgs

Character vector of package names.

Value

A logical vector indicating whether the packages need to be updated.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
  PackageNeedsUpdating("ggplot2")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab