Learn R Programming

textAnnotatoR (version 1.0.1)

validate_directory: Validate directory access

Description

Checks if a directory exists and is accessible for reading and writing. This function performs comprehensive checks to ensure the directory can be used for file operations.

Usage

validate_directory(dir_path)

Value

Logical indicating whether the directory is valid and accessible

Arguments

dir_path

Character string containing the directory path to validate