Clean up pkg caches and/or the pkg library
pkg_cleanup(package_cache = TRUE, metadata_cache = TRUE,
pkg_lib = TRUE, force = FALSE)
Whether to clean up the cache of package files.
Whether to clean up the cache of package meta data.
Whethe to clean up the pkg package library.
Do not ask for confirmation. Note that to use this function
in non-interactive mode, you have to specify force = FALSE
.