Package Citation

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 A 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.