assert_named_exprs {admiraldev}R Documentation

Assert Argument is a Named List of Expressions

Description

[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

Other deprecated: assert_function_param(), assert_has_variables()


[Package admiraldev version 1.1.0 Index]