assert_function_param {admiraldev}R Documentation

Assert Argument is a Parameter of a Function

Description

[Deprecated]

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

Usage

assert_function_param(arg, params)

Arguments

arg

The name of a function passed as a string

params

A character vector of function parameters

Value

The function throws an error if any elements of params is not an argument of the function given by arg

See Also

Other deprecated: assert_has_variables(), assert_named_exprs()


[Package admiraldev version 1.1.0 Index]