packageReference: Package References

View source: R/bibtex.R

packageReferenceR Documentation

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)

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.

Value

a character string containing the text formated BibTex entries


pkgmaker documentation built on May 3, 2023, 5:08 p.m.