p_citation: Package Citation

Description Usage Arguments See Also Examples

View source: R/p_citation.R

Description

Generate citation for a package.

Usage

1
2
3
4
5
p_citation(package = "r", copy2clip = interactive(),
  tex = getOption("pac_tex"), ...)

p_cite(package = "r", copy2clip = interactive(),
  tex = getOption("pac_tex"), ...)

Arguments

package

Name of the package you want a citation for.

copy2clip

logical. If TRUE attempts to copy the output to the clipboard.

tex

logical. If TRUE only the BibTex version of the citation is copied to the clipboard. If FALSE the standard citation is copied to the clipboard. If NA both are copied to the clipboard. Default allows the user to set a "pac_tex" in his/her .Rprofile.

...

Additional inputs to citation

See Also

citation

Examples

1
2
3
4
5
6
7
8
## Not run: 
p_citation()
p_cite(pacman)
p_citation(pacman, tex = FALSE)
p_citation(tex = FALSE)
p_cite(knitr)

## End(Not run)

trinker/pacman documentation built on May 21, 2020, 6:23 a.m.