mark_dirs | R Documentation |
Add a trailing backlash to a file path if this is a directory. This is useful in messages to the console for example to quickly identify directories from files.
mark_dirs(x)
x |
Character vector of paths to files and directories. |
If x
is a vector of relative paths, directory test is done with path
relative to the current working dir. Use in_dir()
or use absolute
paths.
mark_dirs(list.files(find.package("xfun"), full.names = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.