R/eddy-functions.R
use_eddy.Rd
Convenience function that creates a new eddy or re-uses it if present.
use_eddy(eddy_name, cache = default_cache(), flow_options = default_flow_options(), reuse_if_present = TRUE, set_current = TRUE, eddy_env = default_eddy_env())
eddy_name | Unique name for the eddy to allow retrieving later. |
---|---|
cache | A cache object returned by one of the |
flow_options | Options to store for future flow invocations. They
do not affect the |
reuse_if_present | Logical, whether or not to reuse an eddy with
the same name, if already present, even if the |
set_current | Logical, whether to make this eddy current. |
eddy_env | The environment in which the eddy is put (bound). |
An eddy object to be used for storing flows.
Other eddy functions: delete_eddy
,
get_current_eddy
, get_eddy
,
new_eddy
, set_current_eddy
use_eddy("use_eddy")#> <R6Eddy> with cache <R6CacheMemory> and 0 flow(s) #> excluded_arg=; eval_arg_fn=NULL; split_bare_list=TRUE; split_dataframe=FALSE; split_fn=NULL #> # A tibble: 0 x 7 #> # ... with 7 variables: fn_name <chr>, fn_id <chr>, fn_key <chr>, class <chr>, #> # CV <chr>, state <chr>, in_mem <int>