generateSection: Generate Section

Description Usage Arguments Value Note Author(s) References Examples

View source: R/generateSection.R

Description

Generate R documentation section

Usage

1
generateSection(sectionName_s_1, content_s)

Arguments

sectionName_s_1

A single string value

content_s

An unconstrained vector of string values

Value

A single string, containing the generated reference text. Can be appended several times to elaborate a multiple reference text.

See references and examples below.

Note

This function should not be used directly unless you need to write your own manual page generation program.

To generate a manual page directly, you would better use produceManualPage.

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

References

Refer to Writing R extensions to know more about using web references in R documentation.

Refer to Parsing Rd files by Duncan Murdoch.

Examples

1
2
generateSection('concept', 'meta programming')
# "\\concept{meta programming}"

wyz.code.rdoc documentation built on Oct. 6, 2021, 9:07 a.m.