get_cache_info {R4GoodPersonalFinances}R 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()


[Package R4GoodPersonalFinances version 1.0.0 Index]