Remove a file if it is present, will do nothing if it is not.
Source:R/remove_file_if_present.R
remove_file_if_present.Rd
Remove a file if it is present, will do nothing if it is not.
Examples
filename <- tempfile()
file.create(filename)
#> [1] TRUE
remove_file_if_present(filename)
#> [1] TRUE
remove_file_if_present(filename)