Package Citation

Usage

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

Package Citation

Package Citation

Description

Generate citation for a package.

Examples

## <strong>Not run</strong>: # p_citation() # p_cite(pacman) # p_citation(pacman, tex = FALSE) # p_citation(tex = FALSE) # p_cite(knitr) # ## <strong>End(Not run)</strong>

See also

citation