repo_stashclear: Remove all stashed data

Description Usage Arguments Value See Also Examples

View source: R/repo_public.R

Description

Remove all stashed data

Usage

1

Arguments

force

If TRUE, no confirmation is asked.

Value

Used for side effects.

See Also

repo_rm, repo_stash

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

repo documentation built on March 26, 2020, 8:25 p.m.