R/utils.R
validate_path.Rd
Check if a file exists and is readable.
validate_path(path, must_exist = TRUE)
File path to check.
If TRUE, throw error if file doesn't exist.
Normalized file path.