A one-line section break: a slide on the template's "Section Header" layout
(falling back to a plain titled slide when the template has none). Use a
short, single-word label – "DEMOGRAPHICS", "RATINGS", "APPENDIX" – to
chapter a deck.
Arguments
- doc
A document from
report_new().- title
Section label.
- layout
Section layout name. Defaults to
"Section Header".- master
Optional master name.
Examples
doc <- report_new("pptx") %>% report_section("DEMOGRAPHICS")
class(doc)
#> [1] "rpptx"
