remove_user_installed_pkgs: Remove all user installed packages
Description
Remove all user installed packages
Usage
remove_user_installed_pkgs(
exceptions = NULL,
type_of_pkg_to_keep = c("base", "recommended"),
keep_kim = FALSE
)
Arguments
- exceptions
a character vector of names of packages to keep
- type_of_pkg_to_keep
a character vector indicating types
of packages to keep. The default,
type_of_pkg_to_keep = c("base", "recommended")
, keeps all
base and recommended packages that come with R when R is installed.
- keep_kim
logical. If keep_kim = FALSE
, Package 'kim'
will be removed along with all other user-installed packages.
If keep_kim = TRUE
, Package 'kim' will not be removed.
By default, keep_kim = FALSE
Examples
Run this codeif (FALSE) {
remove_user_installed_pkgs()
}
Run the code above in your browser using DataLab