| check_directory | R Documentation |
Validates directory existence and accessibility with options to create if missing
check_directory(
path,
create_if_missing = FALSE,
check_write_permission = TRUE,
arg_name = "directory"
)
path |
Directory path |
create_if_missing |
Whether to create directory if it doesn't exist |
check_write_permission |
Whether to verify write permissions |
arg_name |
Name of the argument for error messages |
Invisible TRUE if valid, throws error otherwise
Other validate-utils:
check_file(),
check_input(),
check_packages(),
check_range()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.