Skip to content

how to generate call graph on a function and not a package #46

@rmflight

Description

@rmflight

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions