Description Usage Arguments Value Author(s) References Examples
View source: R/generateOptionLink.R
Generate cross reference in R documentation
1 | generateOptionLink(options_s_1, topicName_s_1, escapeBraces_b_1 = FALSE)
|
options_s_1 |
A single |
topicName_s_1 |
A single |
escapeBraces_b_1 |
A single |
A single string
, containing one option link. See references and examples below.
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to Writing R extensions section 2.5, to know more about using cross references in R documentation.
1 2 3 4 5 6 7 | # 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}"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.