Clean up example repo files
example_repo_cleanup(files_to_remove, verbose = FALSE)
files_to_remove | List of example files to delete. |
---|---|
verbose | TRUE/FALSE would you like progress messages? |
# Run this to get the files we need example_files <- ottrpal::example_repo_setup() # Run this to delete them example_repo_cleanup(files_to_remove = basename(example_files))#>#>#>#>#>#> Warning: cannot remove file 'docs', reason 'Directory not empty'#>#>#> Warning: cannot remove file 'manuscript', reason 'Directory not empty'#>#>#>#>#>#>#> Warning: cannot remove file 'resources', reason 'Directory not empty'#>#>#> [[1]] #> [1] TRUE #> #> [[2]] #> [1] TRUE #> #> [[3]] #> [1] TRUE #> #> [[4]] #> [1] FALSE #> #> [[5]] #> [1] TRUE #> #> [[6]] #> [1] FALSE #> #> [[7]] #> [1] TRUE #> #> [[8]] #> [1] TRUE #> #> [[9]] #> [1] TRUE #> #> [[10]] #> [1] TRUE #> #> [[11]] #> [1] TRUE #> #> [[12]] #> [1] FALSE #> #> [[13]] #> [1] TRUE #> #> [[14]] #> [1] TRUE #> #> [[15]] #> NULL #>