This function allows you to configure pakret's settings, e.g. to
customize citation templates or control which .bib
file to save
references to.
Details
Valid parameters are:
bib
<character|numeric> = 1L
Name or index of the.bib
file to save references to.pkg
<character> = "the ':pkg' package version :ver [:ref]"
Template used to cite a package.pkg_list
<character> = "':pkg' v. :ver [:ref]"
Template used inpkrt_list()
.r
<character> = "R version :ver [:ref]"
Template used to cite R.
New settings only apply to citations that come after pkrt_set()
. This means
that you can redefine the same settings multiple times in the same document
to alter pakret's behavior for a few specific citations only.
Use NULL
to reset a parameter to its default value.