A function to delete DSSAT output files (\*.OUT) and intermediate files (\*.INH, \*.INP and \*.LST) from a directory
clear_output(dir_name = getwd(), file_ext = c("OUT", "LST", "INP", "INH"))
a length-one character vector indicating the directory in which to delete output files (by default the current working directory)
a character vector of file extensions to delete