downgrade_packages {ibawds} | R Documentation |
Downgrade Packages to the Previous Version
Description
Downgrade packages to the previous version available on CRAN. This is useful in order to prepare the system for a demonstration of package updates.
Usage
downgrade_packages(pkg)
Arguments
pkg |
character with the names of the packages to be downgraded. |
Details
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.
Value
A character vector with the names of the downgraded packages, invisibly.
[Package ibawds version 0.6.0 Index]