Uses remove.package
to uninstall the package.
To uninstall a package from a non-default library,
use withr::with_libpaths()
.
uninstall(pkg = ".", unload = TRUE, quiet = FALSE, ...)
package description, can be path or package name. See
as.package()
for more information
if TRUE
(the default), will automatically unload the
package prior to uninstalling.
If TRUE
, suppress output.
additional arguments passed to remove.packages()
.
with_debug()
to install packages with debugging flags
set.
Other package installation: install