go_interactive
(Package: tutorial) :
Set up your R Markdown document to use DataCamp light
Enable hooks and parsing utilities so that special code chunks where the ex and type options are specified, are converted into interactive exercises on the resulting HTML page. Use build_example to generate an example document. Simply knitting this document will generate a document with DataCamp Light powered code chunks.
build_example
(Package: tutorial) :
Create example .Rmd file in the current working directory
Create the file example.Rmd in your current working directory. This R Markdown files contains example code chunks that can be converted to interactive R playgrounds.