| rpic_manifest | R Documentation |
Returns {svg, animations, diagnostics, warnings} — warnings carries
structured compiler warnings for accepted-but-ignored input (unknown
attribute words, unknown animate effects), each with the same fields as
the rpic_error diagnostic. On a pic error the JSON is
{error, error_info} instead (no condition is raised — the error travels
in-band).
rpic_manifest(src, circuits = FALSE, texlabels = FALSE)
src |
pic source code. |
circuits |
load the native circuit-element library (or write
|
texlabels |
typeset fully |
a JSON string; parse with e.g. jsonlite::fromJSON().
rpic_manifest('box; animate last box with "pop"')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.