Skip to contents

[Experimental]

Removes cached extraction results from disk. Optionally filter by age to keep recent results.

Usage

gee_clear_cache(older_than = NULL)

Arguments

older_than

Numeric. Only remove cache files older than this many days. Default NULL removes all files.

Value

Invisibly returns the number of cache files removed.

See also

Examples

if (FALSE) { # interactive()
# Clear everything
gee_clear_cache()

# Clear only files older than 7 days
gee_clear_cache(older_than = 7)
}