R/process_message.R

Defines functions process_message

Documented in process_message

#' @title Spawn processing update messages
#' @description helper function to provide processing messages
#' @param mess_text `character` text to be shown in the processing windows
#'   and/or the console
#' @param verbose `logical` If FALSE, suppress processing messages, Default: TRUE
#' @return The function is called for its side effects
#' @rdname process_message
#' @author Lorenzo Busetto, phD (2017)

process_message <- function(mess_text, verbose = TRUE) {
    if (verbose) message("[", date(), "] ", mess_text)
}

Try the MODIStsp package in your browser

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

MODIStsp documentation built on Oct. 13, 2023, 5:11 p.m.