store_msg: Store joyn message to .joynenv environment

store_msgR Documentation

Store joyn message to .joynenv environment

Description

Store joyn message to .joynenv environment

Usage

store_msg(type, ...)

Arguments

...

combination of type and text in the form ⁠style1 = text1, style2 = text2⁠, etc.

Value

current message data frame invisibly

See Also

Messages functions clear_joynenv(), joyn_msg(), joyn_msgs_exist(), joyn_report(), msg_type_dt(), style(), type_choices()

Examples

# Storing msg with msg_type "info"
joyn:::store_msg("info",
  ok = cli::symbol$tick, "  ",
  pale = "This is an info message")

# Storing msg with msg_type "warn"
joyn:::store_msg("warn",
  err = cli::symbol$cross, "  ",
  note = "This is a warning message")

randrescastaneda/joyn documentation built on Dec. 20, 2024, 6:51 a.m.