goose_clear_category: Clear all items in a category

View source: R/memory_bulk.R

goose_clear_categoryR Documentation

Clear all items in a category

Description

Clear all items in a category

Usage

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

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

Value

Invisible integer count of deleted items

Examples

## Not run: 
# Clear all items in "temp" category
goose_clear_category("temp")

# Clear without confirmation
goose_clear_category("temp", confirm = FALSE)

## End(Not run)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.