clean {renv} | R Documentation |
Clean up a project and its associated R libraries.
clean(project = NULL, ..., prompt = interactive())
project |
The project directory. If |
... |
Unused arguments, reserved for future expansion. If any arguments
are matched to |
prompt |
Boolean; prompt the user before taking any action? For backwards
compatibility, |
The following actions will be taken:
Stale lockfiles (00LOCK-
) will be removed.
Leftover temporary directories in the project library will be removed.
Non-system packages installed in the system library will be removed.
Unused packages within the project will be removed.
Packages within the cache that are no longer used will be removed.
The project directory, invisibly. Note that this function is normally called for its side effects.
## Not run: # clean the current project renv::clean() ## End(Not run)