info_msg: Helper function for conditional messages

View source: R/utils.R

info_msgR Documentation

Helper function for conditional messages

Description

This function displays a message if the verbose parameter is set to TRUE. It is useful for providing optional feedback to users during function execution.

Usage

info_msg(message, verbose)

Arguments

message

A character string containing the message to display.

verbose

Logical, if TRUE, the message is displayed; if FALSE, the message is suppressed.

Value

NULL (invisible). This function is used for side effects (displaying messages).

Author(s)

Thomas Debray tdebray@fromdatatowisdom.com


SimTOST documentation built on April 3, 2025, 9:05 p.m.