Parse the name section of an Rd object
Parse the name section of an Rd object.
an Rd object
The content of section "
\name" is extracted. If it contains a
hyphen, ‘-’, the part before the hyphen is taken to be the topic
(usually a function name), while the part after the hyphen is the
type. If the name does not contain hyphens, the type is set to the
a list with two components:
name of the topic, usually a function
type of the topic, such as
Georgi N. Boshnakov
1 2 3 4 5 6 7 8 9 10 11 12
u1 <- list_Rd(name = "Dummyname", alias = "Dummyallias1", title = "Dummy title", description = "Dummy description", Rd_class=TRUE ) parse_Rdname(u1) u2 <- list_Rd(name = "dummyclass-class", alias = "Dummyclass", title = "Class dummyclass", description = "Objects and methods for something.", Rd_class=TRUE ) parse_Rdname(u2)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.