Skip to contents

get_column_default() returns a formula or value or NULL.

Usage

get_column_default(
  value = NULL,
  formula = NULL,
  allow_null = TRUE,
  call = caller_env()
)

Arguments

value

Value used as default value.

formula

Formula used as default value.

allow_null

If TRUE, return NULL if both value and formula are NULL.

call

The execution environment of a currently running function, e.g. caller_env(). The function will be mentioned in error messages as the source of the error. See the call argument of abort() for more information.