Description Usage Arguments Value Examples
Is the path a directory? Checks to see if the input path is a directory.
1 2 3 4 5 | assert_all_are_dirs(x, severity = getOption("assertive.severity", "stop"))
assert_any_are_dirs(x, severity = getOption("assertive.severity", "stop"))
is_dir(x, .xname = get_name_in_parent(x))
|
x |
File paths. |
severity |
How severe should the consequences of the assertion be?
Either |
.xname |
Not intended to be used directly. |
is_dir
returns TRUE
if and only if the input
path is a directory that exists, as determined by file.info
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.