Skip to contents

[Deprecated]

This function is deprecated, please use assert_expr_list() instead.

Usage

assert_named_exprs(arg, optional = FALSE)

Arguments

arg

A function argument to be checked

optional

Is the checked argument optional? If set to FALSE and arg is NULL then an error is thrown

Value

The function throws an error if arg is not a named list of expression or returns the input invisibly otherwise

See also