| parse_usage_text {Rdpack} | R Documentation |
Parse usage text.
parse_1usage_text(text) parse_usage_text(text)
text |
content of the usage section of an Rd object, a character vector. |
parse_usage_text does some preprocessing of text then
calls parse_1usage_text for each usage statement.
The preprocessing changes "\dots" to "..." and converts
S3 method descriptions to a form suitable for parse(). The text
is then parsed (with parse) and "srcref" attribute
removed from the parsed object.
todo: currently no checks is made for Rd comments in text.
a list containing one element for each usage entry, as prepared by
parse_1usage_text
Georgi N. Boshnakov