I have code like this:
f.internal <- function(){
print("f.internal was called by ...")
}
f.external <- function(){
f.internal()
}
How to check in R, which of the two functions runs the other function?
I have code like this:
f.internal <- function(){
print("f.internal was called by ...")
}
f.external <- function(){
f.internal()
}
How to check in R, which of the two functions runs the other function?