Learn R Programming

adaptr (version 1.4.0)

equivalent_funs: 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)

Value

Single logical.

Arguments

fun1, fun2

functions to compare.