R/ui.R

Defines functions cli_alert_danger cli_alert_info cli_alert_success

cli_alert_success <- function(text, .envir = parent.frame()) {
  if (!getOption("emodnet.wfs.quiet", FALSE)) {
    cli::cli_alert_success(text, .envir = .envir)
  }
}

cli_alert_info <- function(text, .envir = parent.frame()) {
  if (!getOption("emodnet.wfs.quiet", FALSE)) {
    cli::cli_alert_info(text, .envir = .envir)
  }
}

cli_alert_danger <- function(text, .envir = parent.frame()) {
  if (!getOption("emodnet.wfs.quiet", FALSE)) {
    cli::cli_alert_danger(text, .envir = .envir)
  }
}

Try the emodnet.wfs package in your browser

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

emodnet.wfs documentation built on Aug. 8, 2025, 6:20 p.m.