Skip to contents

Checks for the presence of a cache dir. If interactive and not present, asks user if it should be created. If non-interactive and not present, it is created automatically.

Usage

cache_check()

Value

Logical. TRUE if it exists, FALSE if not.

Examples

if (FALSE) { # local_eg()
cache_check()
}