clear_cache: Clear the repository cache

View source: R/caching.R

clear_cacheR Documentation

Clear the repository cache

Description

Use this function to clear the package cache of some or all repositories (depending on pattern) if the git operations fail.

Usage

clear_cache(pattern = "*")

Arguments

pattern

files to remove, see unlink (wildcards * and ⁠?⁠ allowed)

Examples

## Not run: 
clear_cache()
clear_cache("*elecinfra*")

## End(Not run)

openpharma/staged.dependencies documentation built on Aug. 27, 2023, 10:17 a.m.