powered by
Checks if the result from base::sys.calls contains a call from fun.
fun
calledBy(fun = "exams2pdf")called_by(fun = "exams2pdf")
called_by(fun = "exams2pdf")
logical
character: name of the calling function (default: exams2pdf)
exams2pdf
funb <- function() { calledBy('funa') } funa <- function() { funb() } funa()
Run the code above in your browser using DataLab