View source: R/13_flow_view_uses.R
flow_view_uses | R Documentation |
Experimental function that displays for a given object or function all functions that call it directly or indirectly.
flow_view_uses(x, pkg = NULL, out = NULL)
x |
An object |
pkg |
A package or environment to fetch callers from, by default |
out |
a path to save the diagram to. Special values "html", "htm", "png", "pdf", "jpg" and "jpeg" can be used to export the object to a temp file of the relevant format and open it, if a regular path is used the format will be guessed from the extension. |
The function is not very robust yet, but already useful for many usecases.
flow_view_uses()
returns a "flow_diagram"
object by default, and the output path invisibly if out
is not
NULL
(called for side effects).
flow_view_uses(flow_run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.