findNamedFunctions: Find Named/Non-Anonymous Nested Functions

findNamedFunctionsR Documentation

Find Named/Non-Anonymous Nested Functions

Description

Given a function, find the named-function definitions.

Usage

findNamedFunctions(fun, skipChained = FALSE)

Arguments

fun

a function

skipChained

a scalar logical controlling whether chained assignments of the form a = b = function() ... are considered a match (TRUE) or not.

Value

A list of assignment calls in which the right hand side is a call to function.

Author(s)

Duncan Temple Lang


duncantl/CodeAnalysis documentation built on June 12, 2025, 6:44 a.m.