get_alert_function: Get alert function

View source: R/options.R

get_alert_functionR Documentation

Get alert function

Description

Get a function that can be used to alert the user of invalid inputs. Returns the value implied by the overwrite argument, or the option "graphicalExtremes.default.alert", falling back to warning() if neither is specified.

Usage

get_alert_function(overwrite = NULL)

Arguments

overwrite

NULL or TRUE to read the option value, FALSE to return a dummy function, or a function that takes an arbitrary number of strings as arguments (e.g. stop()).

Value

A function that takes an arbitrary number of strings as arguments.

See Also

graphicalExtremes-package

Other default parameters: get_mc_cores(), get_small_tol()


graphicalExtremes documentation built on Nov. 14, 2023, 1:07 a.m.