Remove a file, if it exists (useful for temporary files which may or may not have been created)

removeIfExists(tmp_filename)

Arguments

tmp_filename

A path to a local file

Value

NULL if file is missing, otherwise TRUE/FALSE depening on successful removal