Skip to contents

Prints the location and size of all three on-disk caches — the downloaded repository-FILE cache, the repository-LISTING cache (dataset/record metadata, off by default – see repo_info_cache_clear()), and the LLM-response cache — so they are never hidden. Files are kept between sessions only when you ask for it (cache = TRUE in a module, or llm_cache(TRUE)); each lasting cache then sits in a folder in the current working directory (.metacheck_repo_cache, .metacheck_repo_info_cache, and .metacheck_llm_cache); relocate all three with options(metacheck.cache.dir = "/some/path"). While llm_cache() is FALSE, the LLM row shows this session's temporary folder.

Usage

metacheck_cache_info()

Value

a data.frame (cache, path, size_mb), invisibly.

Examples

metacheck_cache_info()
#> metacheck caches:
#>   repo_files  /home/runner/work/metacheck/metacheck/docs/reference/.metacheck_repo_cache  (0 MB)
#>   repo_info   /home/runner/work/metacheck/metacheck/docs/reference/.metacheck_repo_info_cache  (0 MB)
#>   llm         /tmp/RtmpNCKKS0/metacheck-llm-cache  (0 MB)