remove_user_installed_pkgs function

Remove all user installed packages

Remove all user installed packages

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)
  • Maintainer: Jin Kim
  • License: GPL-3
  • Last published: 2025-02-26

Downloads (last 30 days):