Remove installed packages

pkg_remove(pkg, lib = .libPaths()[[1L]])

Arguments

pkg

A character vector of packages to remove.

lib

library to remove packages from

See also

Other package functions: pak_package_sources, pkg_install, pkg_status