fig_settings | R Documentation |
You will generally not need to use this function unless you are handling custom plot output.
Packages needing custom parameters should ask users to place them within
the other.parameters
entry under the package name, e.g.
figures: other.parameters: rgl: fig.asp: 1
fig_settings()
A list containing the entries from the figures
field in _pkgdown.yml
(see build_reference()
), with default values added. Computed width
and
height
values (in pixels) are also included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.