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.


adaptr documentation built on May 29, 2024, 7:48 a.m.