Drops the cache of a memoised function for particular arguments.
drop_cache(f)
| f | Memoised function. |
|---|
A function, with the same arguments as f, that can be called to drop
the cached results of f.
#> [1] 6mem_sum(2, 3, 4)#> [1] 9#> [1] TRUE#> [1] TRUEdrop_cache(mem_sum)(1, 2, 3) # TRUE#> [1] TRUE#> [1] FALSE#> [1] TRUE