Generating a Call Graph in R

前端 未结 4 1630
天涯浪人
天涯浪人 2020-12-02 20:39

I\'ve been given a big chunk of poorly formatted monolithic R code with plenty of functions, and I\'d like to work out what functions call what functions.

I thought

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 21:10

    The CodeDepends package (CRAN, website, GitHub) looks interesting, I haven't looked into it though. Among others, it promises

    • creating call graphs between sets of functions

    presumably through the makeCallGraph() function.

提交回复
热议问题