repo_stashclear {repo} | R Documentation |
Remove all stashed data
repo_stashclear(force = F)
force |
If TRUE, no confirmation is asked. |
Used for side effects.
repo_rm, repo_stash
## Not run:
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
tempdata <- runif(10)
rp$stash("tempdata")
rp$print(all=TRUE)
rp$stashclear(TRUE)
## wiping temporary repo
unlink(rp_path, TRUE)
## End(Not run)