| check-vector-hasAccess | R Documentation |
Works for either file or directory paths.
hasAccess(x, access = "r")
allHaveAccess(x, access = "r")
x |
|
access |
Write and executable status cannot be checked on Windows. |
TRUE on success;
FALSE on failure, with cause set.
hasAccess(): Vectorized.
allHaveAccess(): Scalar.
Updated 2023-09-29.
file.access().
checkmate::checkAccess().
## TRUE ====
hasAccess(c("~", "."))
## FALSE ====
hasAccess("xxx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.