downgrade_packages | R Documentation |
Downgrade packages to the previous version available on CRAN. This is useful in order to prepare the system for a demonstration of package updates.
downgrade_packages(pkg)
pkg |
character with the names of the packages to be downgraded. |
Downgrading is only possible for packages that are currently installed. For packages that are not installed, a warning is issued.
The function uses remotes::install_version()
to install a version
of a package that is older than the currently installed version.
A character vector with the names of the downgraded packages, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.