parseRd: Parse an Rd object

Description Usage Arguments Value Examples

View source: R/parseRd.R

Description

This function will parse an Rd object returning a list with each section. The contents of each element of the list will be converted to markdown.

Usage

1
parseRd(rd)

Arguments

rd

An Rd object.

Value

a named list with the parts of the Rd object that will be used for creating a markdown file

Examples

1
2
3
4
## rd source (from parse_Rd function of tools package)
rdfile = "~/git/MyPackage/man/myfun.Rd"
## rd = tools::parse_Rd(rdfile)
## parseRd(rd)

Rd2md documentation built on Feb. 2, 2021, 1:07 a.m.