get_global_calls(func, funcname, envir = parent.frame())do.call.
.C, .Call, etc.
Internally we use findGlobals for finding
the global calls and variables.
Note that by default calls to base function are also included in the
result, even of they are primitive functions (e.g. <-,
==, etc.).