Learn R Programming

wyz.code.rdoc (version 1.1.19)

generateReference: Generate Reference

Description

Generate text to standardize references.

Usage

generateReference(data_l)

Arguments

data_l

An unconstrained list

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.

References

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

Examples

Run this code
# NOT RUN {
generateReference(
  list(url = 'https://neonira.github.io/offensiveProgrammingBook/',
       label = 'Offensive Programming Book')
)
# "Refer to
# \\href{https://neonira.github.io/offensiveProgrammingBook/}{Offensive Programming Book}."
# }

Run the code above in your browser using DataLab