Check file system access rights
Object to check.
Single string containing possible characters ‘r’, ‘w’ and ‘x’ to force a check for read, write or execute access rights, respectively. Write and executable rights are not checked on Windows.
Name of the checked object to print in assertions. Defaults to the heuristic implemented in
Collection to store assertion messages. See
Extra information to be included in the message for the testthat reporter. See
Name of the checked object to print in messages. Defaults to the heuristic implemented in
Depending on the function prefix: If the check is successful, the functions
x invisibly, whereas
If the check is not successful,
throws an error message,
return a string with the error message.
expect_access always returns an