Deletes cached .rds
files used by functions such as object_scatter()
.
You can either remove the entire cache directory or only files older
than a given number of days.
Examples
if(interactive()){
# Clear everything
clear_pliman_cache()
# Clear only files older than 7 days
clear_pliman_cache(all = FALSE, days = 7)
}