R/file_management.R
file.remove_if_exists.Rd
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.
file.remove_if_exists(...)