Skip to contents

Delete entry from cache

Usage

cache_remove(x, families = NULL, remove_files = TRUE, cache_dir = NULL)

Arguments

x

(CacheEntryList) The CacheEntryList object to modify.

families

(character | NULL) The font families to delete. If NULL, all entries are deleted.

remove_files

(logical(1)) If TRUE attempt to delete files referenced by removed entries (default: TRUE).

cache_dir

(character(1) | NULL) The cache directory to delete from. If NULL, the default cache directory is used.

Value

(CacheEntryList) The modified CacheEntryList with the specified entries removed.