r-lib / memoise

Easy memoisation for R
https://memoise.r-lib.org
Other
317 stars 56 forks source link

More lenient check for is_old_cache() #118

Closed wch closed 3 years ago

wch commented 3 years ago

Closes #117. This makes is_old_cache() more lenient, so that it doesn't check for a $reset() or $drop_key() method. It now only looks for the methods that are essential for memoise() to work. (The methods removed in this PR are only used in the forget() and drop_cache() functions.)

krlmlr commented 3 years ago

Thanks for looking into it. I see the results with the next scheduled CI run against dev packages.