Render a typed tree back to R source code
Arguments
- node
Typed tree root (or any node) to render.
- preserve_placeholders
If
FALSE(default), placeholder nodes are assumed to have been replaced by literal nodes during substitution and are rendered as today (expr_text(node$expr)as a fallback). IfTRUE, any surviving placeholder node is emitted asppX(current_pick)– the round-trippable "formula with placeholders" view. The keyword andcurrent_pickare read directly from the node; tests in this layer stub them by hand.
