| path.abbrev | R Documentation | 
This is an inverse of path.expand(), which replaces the home directory or
project directory with a tilde.
path.abbrev(path, dir = fs::path_wd())
path | 
 Character vector containing one or more full paths.  | 
dir | 
 The directory to replace with   | 
Abbreviated file paths.
print(fs::path_wd("test"))
path.abbrev(fs::path_wd("test"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.