yamlet_options: Display Global Yamlet Options

View source: R/yamlet_options.R

yamlet_optionsR Documentation

Display Global Yamlet Options

Description

Displays global yamlet options: those options whose names begin with 'yamlet_'.

  • yamlet_append_units_open: see append_units.default. Controls how labels are constructed for variables with 'units' attributes. In brief, units are wrapped in parentheses, and appended to the label.

  • yamlet_append_units_close: see append_units.default. Controls how labels are constructed for variables with 'units' attributes. In brief, units are wrapped in parentheses, and appended to the label.

  • yamlet_append_units_style: see append_units.default. Determines parsing as 'plotmath' or 'latex', or 'plain' for no parsing.

  • yamlet_append_units_target: see append_units.default. By default, append result is assigned to attribute 'label', but could be something else like 'title'.

  • yamlet_default_keys: see as_yamlet.character. The first two yaml attributes without specified names are assumed to be 'label' and 'guide'.

  • yamlet_persistence: see decorate.list and as.integer.classified. By default, persistence of column attributes is implemented by creating 'dvec' objects (decorated vectors) using vctrs methodology.

  • yamlet_cell_value: see as.data.frame.yamlet. Controls how cells are calculated when converting yamlet (decorations) to a data.frame.

  • yamlet_import: see decorate.character. Controls how primary data is read from file (default: as.csv()).

  • yamlet_extension: see decorate.character. Controls what file extension is expected for yaml metadata (default: '.yaml')

  • yamlet_overwrite: see decorate.list. Controls whether existing decorations are overwritten.

  • yamlet_exclude_attr: see decorations.data.frame Controls what attributes are excluded from display.

  • yamlet_with_title: see make_title.dvec and drop_title.dvec. For objects with (implied) units attributes, titles are by default automatically created on resolve() and destroyed on desolve(). Interacts with yamlet_append_units_*.

  • yamlet_infer_guide: see explicit_guide.yamlet. Identifies the function that will be used to reclassify 'guide' as something more explicit.

  • yamlet_explicit_guide_overwrite: see explicit_guide.data.frame and explicit_guide.dvec. In the latter case, controls whether existing attributes are overwritten.

  • yamlet_explicit_guide_simplify: explicit_guide.data.frame and explicit_guide.dvec. Ordinarily, the 'guide' attribute is removed if something more useful can be inferred.

  • yamlet_decorated_ggplot_search: see print.decorated_ggplot. The print method for decorated_ggplot populates axis labels by searching first for attributes named 'expression', 'title', and 'label'. Customizable.

  • yamlet_decorated_ggplot_discrete: see print.decorated_ggplot. Discrete aesthetics to map from data decorations where available.

  • yamlet_decorated_ggplot_drop: see print.decorated_ggplot. Should unused factor levels be omitted from data-driven discrete scales?

  • yamlet_ggready_parse: see ggready.data.frame, ggready.decorated. Whether to parse axis labels. TRUE by default, but may be problematic if unintended.

  • yamlet_modify_reserved: see modify.default. A list of reserved labels that warn on reassignment.

  • yamlet_promote_reserved: see promote.list. Attributes to leave untouched when promoting singularities.

  • yamlet_promote: see filter.decorated. Whether to promote when filtering 'decorated'.

  • yamlet_as_units_preserve: as_units.dvec. What attributes to preserve when converting dvec to units. Just 'label' by default. Assign options(yamlet_as_units_preserve = character(0)) to remove all.

  • yamlet_print_simplify: print.yamlet. Whether to collapse interactively-displayed decorations into a single line for lists that have no (nested) names and have the same length when unlisted. True by default. Can be misleading for lists with fine detail, but in most cases fine detail will likely have names.

Usage

yamlet_options()

Value

list

Examples

yamlet_options()

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.