bibliography: retrieve citation object with fallback to saved citations.

Description Usage Arguments Value Author(s) Examples

Description

retrieves citation (pkg) if package pkg is available. Alternatively, a CITATION file can be read.

citations with automatic BibTeX keys

cite a package

Produce BibTeX file including automatic keys.

Usage

1
2
3
4
5
6
7
citation.or.file(pkg, saved.cit = sprintf("%s.CITATION", pkg))

citation.with.key(pkg = "base")

cite.pkg(pkg, entries, citefun = "cite")

make.bib(..., file = NULL)

Arguments

pkg
saved.cit

CITATION file on harddisk

entries

which citation () entries to cite?

citefun

which LaTeX command to use for the citiation.

...

packages

file

name of .bib file NULL suppresses writing of the file. "" will output to stdout.

pkg

package

pkg

package

Value

citation

citation

character with \cite{pkg.1, pkg.2}

invisible bibentry list.stats

Author(s)

Claudia Beleites

Claudia Beleites

Claudia Beleites

Claudia Beleites

Examples

1
2
cite.pkg ("cbmisc")
make.bib (file = "")

cbmisc documentation built on May 2, 2019, 5:20 p.m.

Related to bibliography in cbmisc...