violation_style: Inspections Violations Color Helper

violation_styleR Documentation

Inspections Violations Color Helper

Description

Map number of violations to a color (green, orange, or red). Invalid values default to black ("#000000").

Usage

violation_style(value)

Arguments

value

A scalar or vector numeric. This function can accept vectors; however, colDef() passes scalars.

Value

A hex color code


jesse-smith/covidReport documentation built on Aug. 3, 2024, 4:52 p.m.