remove_user_installed_pkgs: Remove all user installed packages

View source: R/remove_user_installed_pkgs.R

remove_user_installed_pkgsR Documentation

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

## Not run: 
remove_user_installed_pkgs()

## End(Not run)

kim documentation built on Oct. 9, 2023, 5:08 p.m.