equivalent_funs {adaptr}R Documentation

Assert equivalent functions

Description

Used internally. Compares the definitions of two functions (ignoring environments, bytecodes, etc., by only comparing function arguments and bodies, using deparse()).

Usage

equivalent_funs(fun1, fun2)

Arguments

fun1, fun2

functions to compare.

Value

Single logical.


[Package adaptr version 1.4.0 Index]