Description Usage Arguments Details Note See Also Examples
Combines base::file.path()
and except arguments are run through
whisker_render
first,
1 2 3 | whisker_path(..., data = parent.frame(), fsep = .Platform$file.sep)
whisker.path(..., data = parent.frame(), fsep = .Platform$file.sep)
|
... |
character; defining a path |
data |
named list or environment with variables that will be used during rendering |
fsep |
character; the path separator to use |
whisker.path
is an alias for whisker_path.
Whisker variables cannot contain '.' by specification, therefore the template cannot use names with '.'
base::file.path()
base::whisker_render()
1 2 3 4 | dir <- "~/tmp"
file_name <- "myfile"
whisker_path( "{{dir}}", "{{file_name}}.txt" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.