Skip to contents

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

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")