clear_dir | R Documentation |
given a directory, delete files given the regex pattern excluding files matching to 'avoid' arg
clear_dir(dir, pattern = ".csv", recursive = F, avoid = "^_")
pattern |
a regex string, used to match files to be deleted |
avoid |
a regular expression string, matched files will not be deleted |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.