generateOptionLink {wyz.code.rdoc} | R Documentation |
Generate Option Link
Description
Generate cross reference in R documentation
Usage
generateOptionLink(options_s_1, topicName_s_1, escapeBraces_b_1 = FALSE)
Arguments
options_s_1 |
A single |
topicName_s_1 |
A single |
escapeBraces_b_1 |
A single |
Value
A single string
, containing one option link. See references and examples below.
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
References
Refer to Writing R extensions section 2.5, to know more about using cross references in R documentation.
Examples
# Typical use case
generateOptionLink('myPackage', 'myFunction')
#[1] "\\link[myPackage]{myFunction}"
# Refer to reference R documentation for following case
generateOptionLink('=terms.object', 'terms')
#[1] "\\link[=terms.object]{terms}"
[Package wyz.code.rdoc version 1.1.19 Index]