r-lib / memoise

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

Error in (memoise::has_cache(reload_definitions))() : object 'encl' not found #142

Open MayaD99 opened 2 years ago

MayaD99 commented 2 years ago

I have received this error when I have run certain commands from internal company packages (which relate to searching and uploading data in an online storage environment). What does this relate to? I cannot seem to fix it.

wch commented 2 years ago

The text reload_definitions isn't present in the memoise package, so it's likely in your internal packages.

My guess is that those packages call memoise() at build time (at the top level of code in the package) and they were built with an older version of the package, but now they are being used with a newer version of memoise. If that's the case, possible solutions include: