Description Usage Arguments Value Examples
All file names matching 'terms' will be deleted
| 1 | delete_old_output(folder, terms)
 | 
| folder | Path to folder | 
| terms | A regular expression: search terms to find files to delete. | 
The deleted paths (invisibly).
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run: 
make_dir("test")
fs::file_create("test/a")
fs::file_create("test/b")
fs::file_create("test/1")
list.files("test")
delete_old_output("test", "c")
list.files("test")
delete_old_output("test", "a|b")
list.files("test")
fs::file_delete("test")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.