Remove caches

faers_clearcache(caches = NULL, force = FALSE)

Arguments

caches

An atomic character, indicates what caches to remove? Only "metadata", "fdadrugs", and "athena" can be used. If NULL, all caches will be removed.

force

logical. Should permissions be changed (if possible) to allow the file or directory to be removed?

Value

Path of the deleted directory invisiblely

Examples

faers_clearcache()
#>  Removing /home/wzy/.cache/R/faers/faers successfully