messageq {LDATS}R Documentation

Optionally generate a message based on a logical input

Description

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

Usage

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)


[Package LDATS version 0.3.0 Index]