R/misc.R
removeIfExists.Rd
Remove a file, if it exists (useful for temporary files which may or may not have been created)
removeIfExists(tmp_filename)
A path to a local file
NULL if file is missing, otherwise TRUE/FALSE depening on successful removal