Remove (uninstall) R packages.
remove(packages, ..., library = NULL, project = NULL)A character vector of R packages to remove.
Optional arguments; reserved for future expansion.
The library from which packages should be removed. When
NULL, the active library (that is, the first entry reported in
.libPaths()) is used instead.
The project directory. If NULL, then the active project will
be used. If no project is currently active, then the current working
directory is used instead.