
Export the fully merged code tree(s)
Source:R/export_fullyMergedCodeTrees.R
export_fullyMergedCodeTrees.Rd
Export the fully merged code tree(s)
Examples
### 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);
tempFile <- tempfile(fileext = ".svg");
### Export merged code tree
export_fullyMergedCodeTrees(
loadedExample,
tempFile
);