Description Usage Arguments Value Examples
View source: R/sanitize_for_DiagrammeR.R
Basically a wrapper for gsub()
to sanitize a string for
DiagrammeR
1 2 3 4 | sanitize_for_DiagrammeR(
x,
regExReplacements = list(c("\\\"", "`"), c("\\'", "`"), c("\\\\", "/"))
)
|
x |
The string or vector |
regExReplacements |
A list of two-element character vectors; first element should be the elemnet to search, and the second element, the replacement. |
The sanitized character vector
1 | justifier::sanitize_for_DiagrammeR("This is or isn't problematic");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.