if (FALSE) {
# Run analysis with automatic cleanup
result <- with_goose_session({
goose_save(mtcars, "cars", category = "temp")
goose_save(iris, "flowers", category = "temp")
# Do analysis...
"Analysis complete"
}, cleanup = TRUE)
}
Run the code above in your browser using DataLab