Skip to contents

Clean your workspace

Usage

clean_workspace(force = FALSE, silent = justifier::opts$get("silent"))

Arguments

force

Whether to force cleaning the workspace

silent

Whether to be chatty or silent.

Examples

### Without `force=TRUE`, presents a query to the user in
### interactive mode:
clean_workspace(silent=FALSE);
#> You did not specify `force=TRUE` or did answer `yes` when I asked you whether you were sure. Did NOT clear your workspace.

### Set `force=TRUE` to force clean the workspace
clean_workspace(force = TRUE, silent=FALSE);
#> Your justifier workspace has been cleaned and is now empty.