Learn R Programming

syncdr (version 0.1.1)

style_msgs: Apply Custom Style to Text

Description

This function applies a custom color and bold style to a given text string.

Usage

style_msgs(color_name, text)

Value

The styled text is printed to the console.

Arguments

color_name

Character. Name of the color to apply. Each color name is associated with a specifically chosen color code. Available options for now are "pink", "blue", "purple", and "green".

text

Character. The text string to which the style will be applied.