
Deep-merge an update onto an existing style YAML, in place
Source:R/update-style.R
styling_update_style.RdA modifyList()-style edit of one section of a style YAML, without
hand-copying the rest of the file.
Details
Requires yes = TRUE: 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, same as styling_sync_reportifyr_config()),
and this always has something to change (unlike that function, which
can no-op) – passing yes = TRUE is this function's explicit
acknowledgement that rewriting the file via yaml.safe_dump drops any
comments/formatting it had.