Description
Wrap a tool with caching capabilities using the memoise package.
Usage
cache_tool(tool, cache = NULL)
Value
A new Tool object that caches its execution.
Arguments
- tool
The Tool object to cache.
- cache
An optional memoise cache configuration (e.g., cache_memory() or cache_filesystem()).
Defaults to memoise::cache_memory().