Skip to content

Commit

Permalink
Internal fn qgis_delete_old_cachefiles(): improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdh committed Dec 15, 2023
1 parent b7faf2f commit 6c2a6af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
9 changes: 6 additions & 3 deletions R/qgis-cache.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ qgis_pkgcache_file <- function() {
#'
#' @param type A string; either `"all"`, `"package"` or `"help"`.
#' This selects the type of cache files to delete.
#' @param 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.
#' @param age_days A number that expresses a cache file's age that must
#' be exceeded for it to be deleted, with age defined as days elapsed since the
#' file's 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`.
#' @param startup Logical.
#' Is this command being run while loading the package?
#' @inheritParams qgis_path
#'
#' @keywords internal
qgis_delete_old_cachefiles <- function(
Expand Down
12 changes: 9 additions & 3 deletions man/qgis_delete_old_cachefiles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c2a6af

Please sign in to comment.