Learn R Programming

pkgmaker (version 0.32.10)

packageReference: Package References

Description

Create a citation string from package specific BibTex entries, suitable to be used in Rd files. The entries are looked in a file named REFERNCES.bib in the package's root directory (i.e. inst/ in development mode).

Usage

packageReference(key, short = FALSE, PACKAGE = NULL)

Value

a character string containing the text formated BibTex entries

Arguments

key

character vector of BibTex keys

short

logical that indicates if the reference should be shorten as First Author et al. if it has more than one author.

PACKAGE

package in which the BiBTeX entry is defined.