Remove one or more objects from the stash.
unstash(var, single_var, verbose = NULL)
The name or a vector of names of objects to remove.
Specifies a single name (key) to remove. Use this when the object was stashed using an arbitrary object as the key.
Whether to print action statements (default TRUE).
Returns NULL
(invisibly).
# \donttest{
stash("x", {
x <- 1
})
#> Stashing object.
unstash("x")
#> Unstashing 'x'.
stash(list(letters, cars), { 7 }, functional = TRUE) # styler: off
#> Stashing object.
unstash(single_var = list(letters, cars))
#> Unstashing '153fec8c97c940c7b03218c9874db452'.
#' # Remove directory for this example - do not do in real use.
unlink(".mustashe", recursive = TRUE)
# }