Given the input to quiet, generate the message(s) in msg or not.

messageq(msg = NULL, quiet = FALSE)

Arguments

msg

character vector of the message(s) to generate or NULL. If more than one element is contained in msg, they are concatenated with a newline between.

quiet

logical indicator controlling if the message is generated.

Examples

  messageq("hello")
  messageq("hello", TRUE)