View source: R/update-packages-addin.R
update_packages_addin | R Documentation |
When called in the repo of an R package, its package dependencies are inspected
and the obsolete ones are updated. This function is a thin wrapper around
remotes::update_packages(remotes::dev_package_deps()$package, dependencies=T)
.
Unlike the 'Update' button in RStudio's 'Packages' panel,
this function will (a) update from CRAN and remote sources like GitHub and
(b) not attempt to install local packages that are unrelated to the current package.
update_packages_addin()
This function only works if run inside a valid package. It reads the dependencies enumerated in the package's DESCRIPTION file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.