Query for existence and access permissionsSource:
file_exists(path) is a shortcut for
link_exists(path) are similar but also check that
the path is a directory or link, respectively. (
path exists and it is a directory.)
A character vector of one or more paths.
A character vector containing one or more of 'exists', 'read', 'write', 'execute'.
Cross-compatibility warning: There is no executable bit on
Windows. Checking a file for mode 'execute' on Windows, e.g.
file_access(x, "execute") will always return