Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RdSection2latex

Format Rd Sections into LatTeX


Description

This function extract sections from Rd files and convert them into LaTeX code. This can be useful to include Rd text into vignettes, hence keeping them up to date.

Usage

RdSection2latex(topic, package, i = 1L, notitle = TRUE)

Arguments

topic

Rd topic

package

package in which to search the topic

i

index of the section to format

notitle

logical that indicates if the section's title should be removed

Example section

This is a nice section, with a bullet list:

  • tata

  • toto

Examples

RdSection2latex('RdSection2latex', package = 'pkgmaker')

pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.