| assert_all_are_dirs {assertive.files} | R Documentation |
Is the path a directory? Checks to see if the input path is a directory.
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.
assert_all_are_dirs(R.home())