splitRdtag: Split a list of Rd fragments at fragments with a specified...

View source: R/rd_utils.R

splitRdtagR Documentation

Split a list of Rd fragments at fragments with a specified Rd_tag

Description

Some Rd structures, such as enumerated lists and tables are separated by placeholder Rd_tags. This function is a convenience function for splitting those lists into components at the indices of fragments with the provided tag.

Usage

splitRdtag(frags, tag)

Arguments

frags

a list of Rd fragments to split

tag

the Rd_tag value upon which the list of Rd fragments should be split

See Also

Other rd2markdown: map_rd2markdown()


Genentech/rd2markdown documentation built on Feb. 28, 2025, 1:27 p.m.