R/zzz.R

Defines functions ffi_message ffi_isquiet

Documented in ffi_isquiet

# zzz.R - miscellany

#' Check if fluxfinder.quiet option is TRUE
#' @return TRUE or FALSE
#' @keywords internal
ffi_isquiet <- function() {
  getOption("fluxfinder.quiet", default = FALSE)
}

ffi_message <- function(...) {
  if (ffi_isquiet()) {
    return()
  }
  message(...)
}

Try the fluxfinder package in your browser

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

fluxfinder documentation built on Sept. 9, 2025, 5:39 p.m.