uninstall: Uninstall a package

View source: R/uninstall.R

uninstallR Documentation

Uninstall a package

Description

Wrapper for utils::remove.packages().

Usage

uninstall(pkgs, lib = .libPaths()[[1L]])

Arguments

pkgs

character. Package names.

lib

character. Destination library directory path. Defaults to the first element of .libPaths().

Value

Invisible list. Metadata containing names of packages that were removed, and the package library path.

Note

Updated 2023-05-17.

Examples

## > uninstall("rlang")

acidgenomics/bb8 documentation built on Feb. 1, 2024, 11:38 a.m.