check_file_conflict: Check if file exists and handle overwrite safely

View source: R/platform_utils.R

check_file_conflictR Documentation

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)

Arguments

file_path

Path to the file to check

overwrite

Whether to allow overwriting

Value

TRUE if file can be written, FALSE or error otherwise


ces documentation built on Aug. 29, 2025, 5:26 p.m.