qgis_delete_old_cachefiles: Delete old cache files

View source: R/qgis-cache.R

qgis_delete_old_cachefilesR Documentation

Delete old cache files

Description

Delete old cache files

Usage

qgis_delete_old_cachefiles(
  type = "all",
  age_days = NULL,
  quiet = FALSE,
  startup = FALSE
)

Arguments

type

A string; either "all", "package" or "help". This selects the type of cache files to delete.

age_days

A number that expresses a cache file's age in days that must be exceeded for it to be deleted, with age referring to its last modification date. The default value of 90 days can also be changed with the option qgisprocess.cachefiles_days_keep or the environment variable R_QGISPROCESS_CACHEFILES_DAYS_KEEP.

Details

Note that a currently used package cache file will never be deleted.

This function is called when loading the package.


qgisprocess documentation built on Aug. 17, 2023, 5:14 p.m.