# set global chunk options
library(reports); library(slidify); library(knitcitations); library(knitr)
opts_chunk$set(cache=FALSE)
BIB <- system.file("extdata/docs/example.bib", package = "reports") #test .bib
bib <- read.bibtex(BIB)
#
#Reading in your own bib file:
#bib <- read.bibtex(dir()[tools::file_ext(dir()) == "bib"][1])
#cite in text using `r citet(bib[1])`

Read-And-Delete

  1. Edit YAML front matter
  2. Write using R Markdown
  3. Use an empty line followed by three dashes to separate slides!

--- .class #id

Slide 2

For slidify framework examples run:
browseURL("https://github.com/ramnathv/slidifyExamples/tree/gh-pages/examples/flowtime") browseURL("http://ramnathv.github.io/slidifyExamples/examples/flowtime/")

r citet(bib[3])

--- .YT yt:ArHQjQyIS70 &youtube

--- .refs

References

bibliography("html", bulleted = FALSE)


trinker/reports documentation built on May 31, 2019, 9:51 p.m.