fig_settings: Get current settings for figures

View source: R/figure.R

fig_settingsR Documentation

Get current settings for figures

Description

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

Usage

fig_settings()

Value

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.


pkgdown documentation built on Sept. 18, 2024, 1:06 a.m.