flow_embed {flow}R Documentation

Embed chart in roxygen doc

Description

Include a call `r_flow::flow_embed(...)` in your doc and a diagram will be included.

Usage

flow_embed(call, name, width = 1, alt = name)

Arguments

call

A call to a flow function, prefixed with ⁠flow::⁠

name

A name for the png file that will be created under 'man/figures', without extension.

width

width, relative if < 1, pixels otherwise

alt

alt text

Details

Value

Called for side effects, should only be used in roxygen doc


[Package flow version 0.2.0 Index]