Learn R Programming

pacman (version 0.5.1)

p_update: Update Out-of-Date Packages

Description

Either view out of date packages or update out of data packages.

Usage

p_update(update = TRUE, ask = FALSE, ...)

p_up(update = TRUE, ask = FALSE, ...)

Arguments

update

logical. If TRUE updates any out-of-date packages; if FALSE returns a list of out-of-date packages.

ask

logical. If TRUE asks user before packages are actually downloaded and installed, or the character string "graphics", which brings up a widget to allow the user to (de-)select from the list of packages which could be updated or added.

Other arguments passed to update.packages.

See Also

update.packages, old.packages

Examples

Run this code
# NOT RUN {
p_update()
p_update(FALSE)
p_up(FALSE)
# }

Run the code above in your browser using DataLab