Learn R Programming

convertid (version 0.2.0)

.cache.writable: 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)

Value

TRUE if both conditions are met, FALSE if not.

Arguments

path

(character). The path to be tested.

See Also

Examples

Run this code
if (FALSE) .cache.writable(rappdirs::user_cache_dir())

Run the code above in your browser using DataLab