Skip to contents

Removes cached result files older than a given number of days and cleans up stale lock, temp, and computing sentinel files.

Usage

cachePrune(cache_dir, days_old = 30)

Arguments

cache_dir

Character path to the cache directory to prune.

days_old

Numeric; cache files with modification times older than this many days are deleted. Default 30.

Value

Invisible NULL.