Hi,
Is there a way to retrieve the parsed location of currently executed
function?
In other words, how to define a function "foo" such that when sourced
from a file "file_with_foo.R" containing foo() at line 1, it should
print:
foo called in file_with_foo.R at line 1
Thanks,
Vitalie