powered by
Manage characters to be escaped in R documentation text
escapeContent(content_s_1, escapeBraces_b_1 = FALSE)
A single string value that is the content to consider
string
A single boolean value, allowing also to escape braces
boolean
A single string with character '@' and '%' escaped.
When escapeBraces_b_1 is set, characters '{' and '}' are also escaped.
escapeBraces_b_1
# NOT RUN { escapeContent('www@xxx.com') # "www@@xxx.com" escapeContent('\\code{ x %% y }', TRUE) # "\\code\{ x \%\% y \}" # }
Run the code above in your browser using DataLab