goose_delete: Delete Object from Goose Memory

View source: R/memory.R

goose_deleteR Documentation

Delete Object from Goose Memory

Description

Remove a saved R object from Goose's memory system.

Usage

goose_delete(name, category = "r_objects", global = TRUE, confirm = TRUE)

Arguments

name

Character string. Name of the object to delete

category

Character string. Category where the object was saved (default: "r_objects")

global

Logical. If TRUE (default), deletes from global memory. If FALSE, deletes from project-local memory.

confirm

Logical. If TRUE (default), asks for confirmation before deleting.

Value

Invisibly returns TRUE if successful

Examples

## Not run: 
# Delete an object
goose_delete("old_model", category = "models")

# Delete without confirmation
goose_delete("temp_data", confirm = FALSE)

## End(Not run)

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