run_hook_plot: Run Plot Hook and Record Plot Filenames

View source: R/engine.R

run_hook_plotR Documentation

Run Plot Hook and Record Plot Filenames

Description

Records the filename of a plot output in the knitr environment and runs the current plot hook. Used internally for non-HTML outputs (LaTeX, DOCX, etc.).

Usage

run_hook_plot(x, options)

Arguments

x

Character path to the plot file.

options

Knitr chunk options list.

Value

The result of calling the knitr plot hook.


pikchr documentation built on Oct. 30, 2026, 1:07 a.m.