powered by
Clear all items in a category
goose_clear_category(category, confirm = TRUE, verbose = TRUE)
Invisible integer count of deleted items
Character string specifying the category to clear
Logical, whether to ask for confirmation (default TRUE)
Logical, whether to print progress messages
if (FALSE) { # Clear all items in "temp" category goose_clear_category("temp") # Clear without confirmation goose_clear_category("temp", confirm = FALSE) }
Run the code above in your browser using DataLab