Learn R Programming

styler (version 1.5.1)

is_cached: Check if text is cached

Description

This boils down to check if the hash exists at the caching dir as a file.

Usage

is_cached(text, transformers, more_specs, cache_dir = cache_dir_default())

Arguments

text, transformers, more_specs

Passed to cache_make_key() to generate a key.

cache_dir

The caching directory relative to the .Rcache root to look for a cached value.