If the current eddy was not previously set with set_current_eddy, it creates a new eddy that uses default_cache().

get_current_eddy(eddy_env = default_eddy_env())

Arguments

eddy_env

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

Value

An eddy object to be used for storing flows.

See also

Examples

get_current_eddy()
#> <R6Eddy> with cache <R6CacheMemory> and 13 flow(s) #> excluded_arg=; eval_arg_fn=NULL; split_bare_list=TRUE; split_dataframe=FALSE; split_fn=NULL #> # A tibble: 13 x 7 #> fn_name fn_id fn_key class CV state in_mem #> <chr> <chr> <chr> <chr> <chr> <chr> <int> #> 1 "C:\\Users\\Publ...ce33341cba2679" 1 41db84~ R6Fil~ .I 2 / 2 0 #> 2 fn 1 0e630f~ R6Flow .. 1 / 1 2 #> 3 fn 1 882d40~ R6Flow .. 1 / 1 5 #> 4 fn 1 018ed9~ R6Flow .I 1 / 1 0 #> 5 fn 1 d1e900~ R6Flow .I 1 / 1 0 #> 6 fn 1 161bf8~ R6Flow .. 1 / 1 2 #> 7 fn 1 20ab2b~ R6Flow .. 1 / 1 2 #> 8 fn 1 d46cc8~ R6Flow .I 1 / 1 1 #> 9 fn2 1 744dc9~ R6Flow .. 1 / 1 2 #> 10 dfg_fn 1 aefdeb~ R6Flo~ .. 2 / 2 4 #> 11 dfg_fn2 1 23dfb5~ R6Flo~ .. 1 / 1 3 #> 12 df_fn 1 ca704c~ R6Flo~ .. 1 / 1 3 #> 13 to_ns test_s~ 94b61f~ R6NsS~ .. 1 / 1 1