Learn R Programming

admiraldev (version 1.3.1)

get_param_tag: Get the content of the @param tag

Description

This function adds the permitted values and the default value to the description of the @param tag. They are added as a definition list (\describe{}).

Usage

get_param_tag(act_param, defaults)

Value

The formatted @param tag

Arguments

act_param

The content of the argument description to format

A list with three named elements is expected:

  • tag: The @param tag

  • permitted: The permitted values

  • default: The default value

Default value

none

defaults

A list of default values from the function call

Default value

none