Function to clean files in a folder.

clean_files(path = ".", filename = NULL, names = c("no_file"), verbose = FALSE)

Arguments

path

(path)- path to the root folder to be cleaned.

filename

(character vector)- file name(s) to be removed.

names

(character vector)- character strings representing the files in the root folder to be removed.

verbose

(logical)- flag to print file names being deleted

Value

nothing

Details

removes (deletes) files with given names on given path.