check_and_create_dir: Check and create directory if it doesn't exist
Description
Checks if a directory exists and creates it if it doesn't. Provides
informative messages about the process.
Usage
check_and_create_dir(basedir, dir = NULL, verbose = TRUE)
Value
No return value; creates directory if needed
Arguments
- basedir
The base directory path
- dir
The subdirectory to create (optional)
- verbose
Whether to display status messages