R/error-utils.r
check_directory.Rd
Check if directory exists and is accessible
check_directory( path, create_if_missing = FALSE, check_write_permission = TRUE, arg_name = "directory" )
Directory path
Whether to create directory if it doesn't exist
Whether to verify write permissions
Name of the argument for error messages
Invisible TRUE if valid, throws error otherwise