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