Cache and retrieve intermediate steps if path exists

cache(file_path, fn)

Arguments

file_path

file path at which to cache

fn

function whose result to cache

Value

cached object

Examples

NULL
#> NULL