parse_Rd(file, srcfile = NULL, encoding = "unknown", verbose = FALSE, fragment = FALSE, warningCalls = TRUE)
"print"(x, deparse = FALSE, ...)
"as.character"(x, deparse = FALSE, ...)
NULL
, or a "srcfile"
object. See the
Details section.TRUE
, attempt to reinstate the escape characters
so that the resulting characters will parse to the same object.parse_Rd
returns an object of class "Rd"
. The
internal format of this object is subject to change. The
as.character()
and print()
methods defined for the
class return character vectors and print them, respectively.Files without a marked encoding are by default assumed to be in the
native encoding. An alternate default can be set using the
encoding
argument. All text in files is translated to the
UTF-8 encoding in the parsed object.
It generates a warning for each parse error and attempts to continue parsing. In order to continue, it is generally necessary to drop some parts of the file, so such warnings should not be ignored.
Rd2HTML
for the converters that use the output of
parse_Rd()
.