check_file_conflict: Check if file exists and handle overwrite safely
Description
Check if file exists and handle overwrite safely
Usage
check_file_conflict(file_path, overwrite = FALSE)
Value
TRUE if file can be written, FALSE or error otherwise
Arguments
- file_path
Path to the file to check
- overwrite
Whether to allow overwriting