Delete files or directories with an error message if it does not succeed.
Further arguments to pass to
This is primarily necessary to avoid incomprehensible errors when
a directory containing a stale environment or installation is not successfully deleted.
recursive=TRUE by default for convenience;
we also set
force=TRUE by default to avoid difficulties due to rogue permissions.
x are successfully deleted or an error is raised.
NULL is invisibly returned.
dir.create2, for a similarly safe directory creation function.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.