pathnames_reroot | R Documentation |
if pathnames are of path format, it sets the root to new_root
dropping all upstream paths beyond new_root
. If not of path format, it
keeps the pathnames unchanged
pathnames_reroot(pathnames, new_root = "input_files")
pathnames |
a vector of characters to be re-rooted |
new_root |
a directory relative to which all paths be renamed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.