Set the current eddy to be used in future flow calls.

set_current_eddy(eddy_name, eddy_env = default_eddy_env())

Arguments

eddy_name

Unique name for the eddy to to be set as current.

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("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>
set_current_eddy("eddy")