Learn R Programming

rock (version 0.8.1)

show_fullyMergedCodeTrees: Show the fully merged code tree(s)

Description

Show the fully merged code tree(s)

Usage

show_fullyMergedCodeTrees(x)

Value

The result of a call to DiagrammeR::render_graph().

Arguments

x

A parsed source(s) object.

Examples

Run this code
### Get path to example source
examplePath <-
  system.file("extdata", package="rock");

### Get a path to one example file
exampleFile <-
  file.path(examplePath, "example-1.rock");

### Load example source
loadedExample <- rock::parse_source(exampleFile);

### Show merged code tree
show_fullyMergedCodeTrees(loadedExample);

Run the code above in your browser using DataLab