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"
)Invisible TRUE if valid, throws error otherwise
Directory path
Whether to create directory if it doesn't exist
Whether to verify write permissions
Name of the argument for error messages
Other validate-utils:
check_file(),
check_input(),
check_packages(),
check_range()