R/code_graph.R
code_graph.Rd
Plot the dependencies among functions and objects for a given script.
code_graph(script, pdf_file)
script | Script object from CodeDepends or a file path to a script. |
---|---|
pdf_file | Path to output PDF of the code graph. |
A network plot.
Matthew K. Lau
if (FALSE) { script <- system.file("example", "simple_script.R", package = "Rclean") simple.script <- readScript(script) code_graph(simple.script) }