Skip to contents

Functions to inspect and clear the cache. If the cache is not enabled, uses a temporary directory.

Usage

gc_cache_size()

gc_cache_clear(force = FALSE)

gc_cache_path()

Arguments

force

FALSE by default. Asks the user to confirm if interactive. Does not clear cache if force is FALSE and not interactive.

Value

For gc_cache_size(), the size in bytes, invisibly

For gc_cache_clear(), the path to the cache, invisibly.

For gc_cache_path(), the path to the cache

Examples

gc_cache_size()
#> 619.8 Kb

gc_cache_clear()

gc_cache_path()
#> [1] "/tmp/Rtmp3EehMZ"