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
logical if TRUE, accept only empty directories
logical if TRUE, accept only directories with write
permissions
Luigi Ranghetti, phD (2019)
Lorenzo Busetto, PhD (2019)