| clean_webawesome | R Documentation |
Executes the 'clean' stage of the build pipeline. The default 'clean' level removes generated package artifacts, copied generation metadata, and the pruned runtime bundle. 'distclean' additionally removes fetched upstream inputs and copied metadata.
clean_webawesome(
level = c("clean", "distclean"),
dry_run = FALSE,
verbose = interactive(),
root = "."
)
level |
Cleanup level. Must be one of '"clean"' or '"distclean"'. |
dry_run |
Logical scalar. If 'TRUE', reports the paths that would be removed without deleting them. |
verbose |
Logical scalar. If 'TRUE', emits a short summary of removed and already-absent paths. |
root |
Repository root directory. |
CLI entry point: './tools/clean_webawesome.R –help'
A list describing the cleanup operation, including removed and missing paths.
## Not run:
clean_webawesome()
clean_webawesome(level = "distclean", dry_run = TRUE)
## End(Not run)