Slides with Rmarkdown: xaringan (R case study, 2021)
Channel: John Little
Date: 27/04/2021

R markdown is a means of applying structure to the prose in your coding document.  Using R Markdown and the xaringan package, attendees will integrate code with natural language (i.e. prose) to render presentation slides as a reproducible report.  The method of integrating code with prose is known as literate coding.  

0:00 - Start
6:37 - R Markdown & literate coding
19:04 - Xaringan: get started
19:22 - Demonstration of a developed slide deck
20:24 - xaringan documentation
23:30 - infinite moon reader: real-time rendering of slides
25:16 - class middle | class center
26:47 - Create a new slide ---
28:00 - Columns:  pull-left[ ]  & pull-right[ ]
30:08 - justify: left - center - right
31:28 - presenter notes & shortcut keys
32:56 - class inverse (section seperators)
34:03 - Reveal slide text incrementally
37:49 - LaTeX formulas (Math Expressions)
40:44 - Ineractive slides (HTML widgets)
41:35 - Highlighting code
43:07 - Documentation - tour/overview
43:27 - Color and fonts:  xaringan themer
47:57 - Templates and layouts
48:13 - CSS style sheets
51:24 - ggplot2 themes (xariganthemer)
52:17 - Advanced themes and classes
53:42 - Tachyons
55:10 - Question and Answers
1:01:52 - Other R slide tools (e.g. render PowerPoint slides)


This Rfun case study demonstrate the utility R / Tidyverse workflows.  You can use the Tidyverse as a universal reproducible interface for your analysis projects.

More Rfun at https://Rfun.library.duke.edu/
Part of the DVS Workshop Series:  http://library.duke.edu/data/

LINKS
- Code for this workshop:  https://github.com/libjohn/workshop_slides_markdown_xaringan/

- xarigan documentation -- https://slides.yihui.org/xaringan/#1
- xarigan wiki -- https://github.com/yihui/xaringan/wiki
- xarigan (Ch 7. R Markdown the definitive guide) -- https://bookdown.org/yihui/rmarkdown/xaringan.html

- remark.js wiki -- https://github.com/gnab/remark/wiki/Markdown#slide-properties

- xariganthemer -- https://pkg.garrickadenbuie.com/xaringanthemer/

- CSS style/themes with 
-- Apron -- https://story.xaprb.com/slides/adirondack/#5
-- Descartes -- https://story.xaprb.com/slides/adirondack/#33

- Tachyons -- https://pkg.garrickadenbuie.com/xaringanExtra/#/tachyons



CODE:
https://github.com/libjohn/workshop_slides_markdown_xaringan
First Release: https://github.com/libjohn/workshop_slides_markdown_xaringan/releases/tag/v1.0