Some expensive operations are cached to avoid recomputing them.
Intermediate results are stored in a cache directory.
Users can set it via habistats.cache_dir
option.
The default is set with tools::R_user_dir()
.
Details
General recommendation is to set it to a persistent directory with easy access,
such as ~/.cache/habistats
, not a temporary directory like tempdir()
.
If you are working on a shared machine with other users,
setting the same cache directory will allow you to share the cache.