messageq: Optionally generate a message based on a logical input

Description Usage Arguments Examples

View source: R/utilities.R

Description

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

Usage

1
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

1
2
  messageq("hello")
  messageq("hello", TRUE)

weecology/LDATS documentation built on March 28, 2020, 11:20 a.m.