
Sync reportifyr's config.yaml footnote styling to a quartifyr style YAML
Source:R/sync-reportifyr-config.R
styling_sync_reportifyr_config.Rdreportifyr doesn't read quartifyr's style YAML at all – its own
report/config.yaml scaffolds footnotes_font/footnotes_font_size
independently (defaulting to "Arial Narrow"/10), so left untouched they
visually clash with whatever fonts.body/fonts.sizes.footnote a style
YAML sets for the rest of the document. This updates just those two
keys to match.
Usage
styling_sync_reportifyr_config(
style,
override = NULL,
config_yaml = "report/config.yaml",
yes = FALSE
)Details
Requires an interactive y/yes confirmation before writing unless
yes = TRUE is passed – there's no live stdin to confirm over via this
R wrapper (it always calls the underlying CLI with --json, a
non-interactive/piped invocation), so yes = TRUE is required whenever
config_yaml's footnote keys are actually out of sync; a call that
finds nothing to change succeeds either way.