knit_flow: Knit and extract chunk data

Description Usage Arguments Details Value See Also

View source: R/flowgraph.R

Description

A wrapper function for knit that gathers and extracts data from knitr on chunk dependencies to produce a dataflow graph. Additional profiling data on time usage and cache and figure sizes are extracted as well.

Usage

1
knit_flow(..., cache.path = NULL, fig.path = NULL)

Arguments

...

All the arguments that should be passed on to knit

cache.path

Character, default NULL. If set, overrides the default cache path.

fig.path

Character, default NULL. If set, overrides the default figure path.

Details

If a document has already been knitted and rendered in RStudio, say, the arguments cache.path and fig.path can be set to use the existing cache.

Value

An object of class dep_graph, which inherits class dgr_graph from the DiagrammeR package.

See Also

plot.dep_graph and render_graph from the DiagrammeR package.


nielsrhansen/knitrflow documentation built on May 5, 2019, 7:59 p.m.