Description Usage Arguments Value Examples
Strip a root file path from an absolute filename.
1 | strip_root(root, filename)
|
root |
character. The root path. |
filename |
character. The full file name. |
the stripped file path.
1 2 3 4 | ## Not run:
stopifnot("test" == strip_root("foo/bar/test", "test"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.