memoise icon indicating copy to clipboard operation
memoise copied to clipboard

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

Open MayaD99 opened this issue 3 years ago • 1 comments

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.

MayaD99 avatar Nov 02 '22 13:11 MayaD99

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:

  • Modifying those packages to call memoise() at a different time, like at package load time.
  • Rebuilding those packages with the current version of memoise installed.

wch avatar Nov 02 '22 16:11 wch