| purge_cache | R Documentation | 
Deletes oldest files until cache size is below the threshold size. Additionally, users can specify a maximum age in days to delete all files older than the threshold, which can speed up file purge in large stores. Setting either age and threshold to 0 will purge everything from cache.
purge_cache(threshold = "1G", age = Inf, dir = content_dir(), verbose = TRUE)
threshold | 
 Threshold size, accepts   | 
age | 
 Maximum age in days  | 
dir | 
 the path we should use for permanent / on-disk storage
of the registry. An appropriate default will be selected (also
configurable using the environmental variable   | 
verbose | 
 show deleted file paths?  | 
Default behavior will keep contentid's local store size below 1 GB.
Note that contentid functions do not automatically call purge_cache(),
this must be handled by user workflows.
invisibly returns directory path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.