cache: Working with cache

get_cache_infoR Documentation

Working with cache

Description

Get information about the cache

Reset the cache

Set the cache directory

Usage

get_cache_info()

reset_cache()

set_cache(path = file.path(getwd(), ".cache"))

Arguments

path

The path to the cache directory. Defaults to the '.cache' folder in the current working directory.

Value

Invisibly returns the path to the cache directory or a list containing:

path

The path to the cache directory.

files

The number of files in the cache.

Examples


get_cache_info()


reset_cache()


set_cache()


R4GoodPersonalFinances documentation built on June 8, 2025, 11:18 a.m.