equivalent_funs: Assert equivalent functions

View source: R/utils.R

equivalent_funsR 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.


INCEPTdk/adaptr documentation built on May 7, 2024, 8:21 a.m.