View source: R/get-path-from-object.R
Concatenates a directory and path, and uses normalizePath() to create an absolute path, with some specific rules: If .directory is NULL, set to working directory. If .path is an absolute path, ignore .directory and just return .path, otherwise return 'file.path(.directory, .path)'. Also NOTE that '.directory' must point an already existing directory so that the absolute path can be reliably built.
1 | combine_directory_path(.directory, .path)
|
.directory |
Character scaler for the directory |
.path |
Character scaler for the path to the file (could be just the file name, or could be in a subdirectory) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.