Description Usage Arguments Details Value
Custom version of normalizePath()
.
1 | normalize_path_te(filepath = NULL, winslash = "/", mustWork = NA)
|
filepath |
character. Filepath. |
winslash |
character. |
mustWork |
logical. |
Modified from https://github.com/rstudio/rmarkdown/blob/81c209271e06266115e08263dbcde5d007e4d77c/R/includes.R
NOTE: Not sure why, but need to set mustWork = FALSE) explicitly, otherwise
warnings appear. (This behavior is not observed when calling normalizePath directly.
Howver, normalizePath()
specifies winslash = \
by default, which is annoying.
character. Filepath.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.