Learn R Programming

gooseR (version 0.1.2)

goose_clear_category: Clear all items in a category

Description

Clear all items in a category

Usage

goose_clear_category(category, confirm = TRUE, verbose = TRUE)

Value

Invisible integer count of deleted items

Arguments

category

Character string specifying the category to clear

confirm

Logical, whether to ask for confirmation (default TRUE)

verbose

Logical, whether to print progress messages

Examples

Run this code
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