file.remove_if_exists: Delete if the File Exists

Description Usage

View source: R/file_management.R

Description

Avoid throwing an error if a call to 'file.remove()' is to a file does not exist by adding a conditional statement. A message is returned in the console for each file to confirm deletion or if the file was not found.

Usage

1

patelm9/cave documentation built on March 29, 2021, 6:28 p.m.