R/check_message_print.R

Defines functions check_message_print

check_message_print <- function() {
  print_message <- getOption("SpatialKDE.suppres_message")

  if (is.null(print_message)) {
    return(TRUE)
  } else {
    if (isFALSE(print_message)) {
      return(TRUE)
    } else if (isTRUE(print_message)) {
      return(FALSE)
    }
  }

  return(TRUE)
}

Try the SpatialKDE package in your browser

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

SpatialKDE documentation built on March 7, 2023, 6:25 p.m.