Rdo_piecetag(name) Rdo_sectype(x) is_Rdsecname(name)
Rdo_piecetag
name
Rdo_sectype gives the "Rd_tag" of the Rd section x.
Rdo_sectype
x
is_Rdsecname(name) returns TRUE if name is the name of a top level Rd section.
is_Rdsecname(name)
The information returned by these functions is obtained from the charater vectors Rdo_piece_types and Rdo_predefined_sections.
Rdo_piece_types
Rdo_predefined_sections
Rdo_piecetag("eqn") # ==> "VERB" Rdo_piecetag("code") # ==> "RCODE" Rdo_sectype("usage") # ==> "RCODE" Rdo_sectype("title") # ==> "TEXT" Rdo_sectype("arguments")
Run the code above in your browser using DataLab