diff --git a/R/cache.R b/R/cache.R index f9dc281..7408c18 100644 --- a/R/cache.R +++ b/R/cache.R @@ -106,7 +106,7 @@ list_cached_data <- function(print_tree = FALSE) { #' #' @return Invisibly returns the cache directory path. #' -#' @examples +#' @examplesIf identical(TRUE, FALSE) #' clean_cache_dir() #' #' @export diff --git a/man/clean_cache_dir.Rd b/man/clean_cache_dir.Rd index 8cb9815..58f56b2 100644 --- a/man/clean_cache_dir.Rd +++ b/man/clean_cache_dir.Rd @@ -13,6 +13,7 @@ Invisibly returns the cache directory path. Deletes the files saved in the cache directory. } \examples{ +\dontshow{if (identical(TRUE, FALSE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} clean_cache_dir() - +\dontshow{\}) # examplesIf} }