Description Usage Arguments Examples
Test if a path is a directory. This follows symbolic links, so
both path_is_link
and path_is_directory
can
be TRUE
for the same oath on systems that support symlinks
1 | path_is_directory(path, missing_is_not_directory = FALSE)
|
path |
A vector of paths |
missing_is_not_directory |
Flag to indicate a return value of
|
1 2 | path_is_directory(".") # TRUE
path_is_directory("missing file") # NA
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.