clear_cache: Clear pkgdown cache if any

View source: R/cache.R

clear_cacheR Documentation

Clear pkgdown cache if any

Description

Removes all files from the pkgdown cache directory if it exists. This is useful when troubleshooting or when you want to force a fresh caching of pkgdown external dependencies.

Usage

clear_cache()

Value

Invisible NULL, called for side effect of clearing the cache.

Examples

## Not run: 
pkgdown.offline::clear_cache()

## End(Not run)

pkgdown.offline documentation built on June 8, 2025, 1:59 p.m.