Description Usage Arguments Functions Examples
Make sure a string is enclosed with some values.
1 2 3 | ensure_curly_enclosing(raw_reassignment)
ensure_dash_enclosing(raw_reassignment)
|
raw_reassignment |
A character vector containing text from raw assignemnts (see 'Examples'). |
ensure_curly_enclosing
: Ensures curly braces enclosing.
ensure_dash_enclosing
: Ensures dash enclosing.
1 2 3 4 5 6 7 | gitsum:::ensure_curly_enclosing(
c("API => api", "R/{a => b}")
)
gitsum:::ensure_leading_dash(
c("{API = api}", "R/{a => b}",
"vignettes/{ => notes}/mysql-setup.Rmd")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.