is_existing_dir | R Documentation |
Checks if the path refers to an existing directory.
is_existing_dir(path, allow_null = FALSE)
path |
the value to check |
allow_null |
if TRUE, allow the value NULL. If FALSE (default) do not allow NULL. |
## Not run:
# For assertion
assertthat::assert_that(qscheck::is_existing_dir(f))
# For check
if (qscheck::is_existing_dir(f)) {}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.