pkrt {pakret} | R Documentation |
Cite R or an R package
Description
Creates a preformatted citation of R or an R package. This
function should normally only be used in an R Markdown or Quarto document,
in which case pkrt()
automatically references the cited package in the
first (by default) .bib
file specified in the YAML header if no
references of the package already exist.
Usage
pkrt(pkg)
Arguments
pkg |
Name of the package to cite. |
Value
A character string.
Examples
pkrt("pakret")
pkrt("R")
[Package pakret version 0.2.2 Index]