When an R script is submitted to the server, Linux generates a log file named myRscript.R.o######. This program searches a folder for files named like this and removes/deletes them.

rm_logs(path = here::here(), recursive = FALSE)

Arguments

path

folder location to search for log files

recursive

logical. should log files in subdirectories also be deleted?