rpic 0.11.3
Tracks the rpic engine from 0.6.2 to 0.11.3. The R functions and their arguments are unchanged; everything below is reached through the pic source.
- New pic extensions, all opt-in:
canvas(fixed page), per-string font attributes (bold,italic,mono,font,fontsize,big,small),rotatedandalignedlabels, colour literalsrgb(r, g, b)and0xRRGGBB, variables and expressions in colour position,thin, andlink "<url>"for clickable objects in SVG output. -
animategrew from three effects to a full set:move,highlight,slide,morph,type,scrambleandwiggle, plusout,repeat,yoyo,ease,stagger, a partialdraw from ... to ..., anddraggableobjects. -
rpic_manifest()bundles gain anobjectsarray (id, kind, bounding box and source position of every drawn object) and, whendraggableis used, aninteractionsarray. - Better compatibility with ‘dpic’: extension words such as
after,repeatandpreviousno longer shadow identifiers, so sources that use them as variable or macro names compile. - Recursive macro expansion is no longer exponential in its depth.
- Robustness: deeply nested input is rejected with a diagnostic instead of overflowing the stack, and
invalid_colorwarnings carry a source position. - Rust 1.88 or later is now required to build from source (
SystemRequirements).
rpic 0.6.2
CRAN release: 2026-07-15
- Track rpic 0.6.2 (the 2026-07 audit series): always-valid SVG for negative dimensions, canvas bounds that contain arrowheads and math fragments, dpic-parity fixes for
chop/continue/deadforbodies, and structured eval-phase diagnostics with include attribution. - Internal: the option builder is resilient to additive engine option fields.
rpic 0.6.1
- Track rpic 0.6.1 (
rpic-core/rpic-renderfrom crates.io; previously 0.1.0). - New
texlabelsargument onrpic_svg(),rpic_png(),rpic_pdf()andrpic_manifest(), and as a knitr chunk option: fully$...$-delimited labels are typeset as TeX math, natively (the math renderer is now registered — it previously was not, so math labels fell back to literal text). -
circuits = TRUEis now a compile option instead of prepending the library to the source: compile-error positions stay relative to your own input. The library can also be loaded in-source withcopy "circuits". - Structured errors: compile failures are raised as a classed
rpic_errorcondition;e$infoholds the diagnostic (message,line,col,end_col,file,kind,found,expected,hint). -
rpic_manifest()bundles now include awarningsarray with structured compiler warnings for accepted-but-ignored input.
rpic 0.1.0
- First public release:
rpic_svg(),rpic_png(),rpic_pdf(),rpic_manifest(), the knitr engine (rpic_register_knitr()), and the native circuit-element library (circuits = TRUE).