Converting xaringan slides to PDF

slide2pdf(f)

Arguments

f

The relative path to the R Markdown file for the xaringan presentation

Value

The function produces a PDF in the folder where the HTML version of the file resides for web deployment

Examples

# slide2pdf('slides/lectures/00-Introduction.Rmd')