delete_if_cache_directory | R Documentation |
For safety, path
is only deleted if it is a sub-directory of a temporary
directory or user cache. Since this function relies on tools::R_user_dir()
,
it early returns FALSE
on R < 4.0.0
.
delete_if_cache_directory(path)
path |
Absolute path to a directory to delete. |
TRUE
if anything was deleted, FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.