Learn R Programming

repo (version 2.1.7)

repo_stashclear: Remove all stashed data

Description

Remove all stashed data

Usage

repo_stashclear(force = F)

Value

Used for side effects.

Arguments

force

If TRUE, no confirmation is asked.

See Also

repo_rm, repo_stash

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab