R/messager.R

Defines functions messager

Documented in messager

#' Print messages
#'
#' Print messages with option to silence.
#'
#' @param ... Message input.
#' @param v Whether to print messages.
#' 
#' @return Null output.
#'
#' @keywords internal
messager <- function(..., v = TRUE) {
    if (v) {
        msg <- paste(...)
        message(msg)
    }
}
neurogenomics/MungeSumstats documentation built on Aug. 10, 2024, 5:59 a.m.