calledBy {exams.forge}R Documentation

Function Calling

Description

Checks if the result from base::sys.calls contains a call from fun.

Usage

calledBy(fun = "exams2pdf")

called_by(fun = "exams2pdf")

Arguments

fun

character: name of the calling function (default: exams2pdf)

Value

logical

Examples

funb <- function() { calledBy('funa') }
funa <- function() { funb() }
funa()

[Package exams.forge version 1.0.10 Index]