Issue a warning that a file or folder already exists at the provided path.
Source:R/cli_alerts.R
warn_file_exists.Rd
warn_file_exists
issues a warning that a file already exists.
warn_folder_exists
issues a warning that a folder already exists.
Usage
warn_file_exists(file, base_dir = ".", action = "skipping")
warn_folder_exists(folder, base_dir = ".", action = "skipping")
See also
Other cli-dev:
alert_file_created()
,
alert_opening()
,
alert_writing_to()
,
format_action()
,
warn_file_missing()