Convert a character vector to Rd piece
Convert a character vector to Rd piece.
a character vector.
name of an Rd macro, a string.
TRUE or FALSE, see ‘Details’.
content is converted to an Rd piece using
name to determine the format of the result.
Rd tag of
content is set as appropriate for
More specifically, if
name is the name of a macro (without the
\') whose content has a known "Rdtag", that tag is
used. Otherwise the tag is set to "TEXT".
force.sec is TRUE,
name is treated as the name of a
top level section of an Rd object. A top level section is exported as
one argument macro if it is a standard section (detected with
is_Rdsecname) and as the two argument macro
force.sec is FALSE, the content is exported as one argument
macro without further checks.
This function does not attempt to escape special symbols like ‘%’.
Georgi N. Boshnakov
1 2 3 4 5 6 7 8