pkrt_set {pakret}R Documentation

Configure pakret's settings

Description

This function allows you to configure pakret's settings, e.g. to customize citation templates or control which .bib file to save references to.

Usage

pkrt_set(...)

Arguments

...

Key-value pairs, separated by commas, of parameters to set. See details.

Details

Valid parameters are:

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.

Value

This function is called for its side-effect. It returns no value.

Examples

pkrt_set(pkg = ":pkg (v. :ver) :ref")
pkrt("pakret")

# `NULL` resets parameters to their default value
pkrt_set(pkg = NULL)
pkrt("pakret")

[Package pakret version 0.2.2 Index]