clean_webawesomeR Documentation

Remove generated build artifacts from the repository

Description

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.

Usage

clean_webawesome(
  level = c("clean", "distclean"),
  dry_run = FALSE,
  verbose = interactive(),
  root = "."
)

Arguments

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.

Details

CLI entry point: './tools/clean_webawesome.R –help'

Value

A list describing the cleanup operation, including removed and missing paths.

Examples

## Not run: 
clean_webawesome()
clean_webawesome(level = "distclean", dry_run = TRUE)

## End(Not run)