qes_cache_clear() deletes cached files: all of them, those of some
studies, or those older than a given age. It also forgets the data and
metadata kept in memory for this session. It deletes files only in a
directory that qesR created and marked as its cache (it holds a
.qesR-cache file) and refuses any other directory.
Arguments
- studies
Optional character vector of study codes (see
qes_studies()).NULL(default) clears every study.- older_than
Optional age: a number of days, or a difftime. Only files retrieved longer ago than this are deleted.
See also
qes_cache_info(), which also describes where files are kept.
Other cache:
qes_cache_info()