How is one supposed to create a call-graph using makeCallGraph on a function call?
For example, if I wanted to know all the functions that get called by doing:
lm(mpg ~ hp, data = mtcars)
I would have thought I would do something like:
gg = makeCallGraph("lm(mpg ~ hp, data = mtcars)")
But I get the error:
Error in .local(obj, all, ...) :
Don't know how to make a call graph from this string: lm(mpg ~ hp, data = mtcars)