escapeContent {wyz.code.rdoc} | R Documentation |
Escape Specials Characters In Content
Description
Manage characters to be escaped in R documentation text
Usage
escapeContent(content_s_1, escapeBraces_b_1 = FALSE)
Arguments
content_s_1 |
A single |
escapeBraces_b_1 |
A single |
Value
A single string
with character '@' and '%' escaped.
When escapeBraces_b_1
is set, characters '{' and '}' are also escaped.
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Examples
escapeContent('www@xxx.com')
# "www@@xxx.com"
escapeContent('\\code{ x %% y }', TRUE)
# "\\code\{ x \%\% y \}"
[Package wyz.code.rdoc version 1.1.19 Index]