Learn R Programming

options (version 0.2.0)

format_field: Format a possible option source

Description

Format a possible option source

Usage

format_field(field, active, value, fmt = options_fmts())

Value

A formatted character value

Arguments

field

The field for the option source

active

Whether this source is the source of the option's value

value

The value from this source that was used

fmt

A list of formats to use for formatting individual text elements