dot-cache.writable: Unexported functions Test if a path exists and is writable

.cache.writableR Documentation

Unexported functions Test if a path exists and is writable

Description

.cache.writable() uses file.access() to test if a given location exists and is writable by the user.

Usage

.cache.writable(path)

Arguments

path

(character). The path to be tested.

Value

TRUE if both conditions are met, FALSE if not.

See Also

file.access

Examples

## Not run: .cache.writable(rappdirs::user_cache_dir())

convertid documentation built on April 4, 2025, 1:01 a.m.