check_directories | R Documentation |
Check directory input
check_directories(
directories,
ref = NULL,
type = "folders",
fdb.fn = "stop",
with.time = FALSE,
verbose = TRUE
)
directories |
Character vector. Directories to check. |
ref |
Character value. Input reference for the error message.
If set to NULL the value of |
type |
Character value. One of 'files', 'folders', 'create_files'. Checks whether the given directories lead to the specified type or are creatable. |
fdb.fn |
Character value. Determines the function to call if a feedback message needs to be given. One of 'stop', 'warning' or 'message'. |
with.time |
Logical value. Indicates whether the current time is to be added to the feedback message. |
verbose |
Logical value. Indicates whether any kind of feedback is supposed to
be given. |
An informative error message or an invisible TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.