Create a new eddy. Does not affect the current eddy.

new_eddy(eddy_name, cache = default_cache(),
  flow_options = default_flow_options(), eddy_env = default_eddy_env())

Arguments

eddy_name

Unique name for the eddy to allow retrieving later.

cache

A cache object returned by one of the cache functions.

flow_options

Options to store for future flow invocations. They do not affect the eddy, they are only stored for ease of access.

eddy_env

The environment in which the eddy is put (bound).

Value

An eddy object to be used for storing flows.

See also

Examples

new_eddy("new_eddy_name")
#> <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>