| packages_update | R Documentation |
Updates packages defined in the configuration. If renv is enabled, uses renv::update(). Otherwise, reinstalls packages using standard installation methods.
packages_update(packages = NULL)
packages |
Character vector of specific packages to update, or NULL to update all |
Invisibly returns TRUE on success
if (FALSE) {
# Update all packages
packages_update()
# Update specific packages
packages_update(c("dplyr", "ggplot2"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.