Convert function call to a stack trace
calls_to_stacktrace(calls)
calls
function calls, e.g. from sys.calls()
a data.frame