Description
Accessory functions to check that a directory exists and
the user have write permissions on it (to be used in a Shiny context)
Usage
path_check(path, mustbe_empty = FALSE, mustbe_writable = TRUE)
Arguments
path
string
full path to a folder
mustbe_empty
logical
if TRUE, accept only empty directories
mustbe_writable
logical
if TRUE, accept only directories with write
permissions