update_packages {devtools} | R Documentation |
Works similarly to install.packages()
but doesn't install packages
that are already installed, and also upgrades out dated dependencies.
update_packages(pkgs = NULL, dependencies = NA, repos = getOption("repos"), type = getOption("pkgType"))
pkgs |
Character vector of packages to update. IF |
dependencies |
Which dependencies do you want to check? Can be a character vector (selecting from "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances"), or a logical vector.
|
repos |
A character vector giving repositories to use. |
type |
Type of package to |
package_deps
to see which packages are out of date/
missing.
## Not run: update_packages("ggplot2") update_packages(c("plyr", "ggplot2")) ## End(Not run)