Learn R Programming

pkgdown.offline (version 0.1.2)

clear_cache: 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()

Arguments

Value

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

Examples

Run this code
if (FALSE) {
pkgdown.offline::clear_cache()
}

Run the code above in your browser using DataLab