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

meerapatelmd/cave documentation built on April 2, 2021, 10:32 p.m.