R/message_verbose.R

Defines functions message_verbose

#' Conditional verbose messaging
#'
#' Prints a message only if `verbose` is `TRUE`.
#'
#' @param verbose Logical; whether to print messages.
#' @param msg Character; the message to print.
#'
#' @keywords internal
#' @noRd
message_verbose <- function(verbose, msg) {
  if (isTRUE(verbose)) message(msg)
}

Try the auxvecLASSO package in your browser

Any scripts or data that you put into this service are public.

auxvecLASSO documentation built on Aug. 28, 2025, 9:09 a.m.