preview_chapter: Preview a chapter locally

Description Usage Arguments Value Examples

View source: R/course_creation.R

Description

The function parses the chapter (in R markdown) using the slidify function from the slidify package. It then opens an html page that gives you an overview of the chapter in a nicer interface, so you can check it for typo's. Later we will add checks on the quality and correctness of your exercises in this overview.

Usage

1
preview_chapter(inputFile,outputFile,...)

Arguments

inputFile

Path to chapter ".Rmd"" file to be previewed.

outputFile

Path to name of ".html" output file that will be created. By default the name of the input file is taken.

...

Extra arguments you'd like to pass to the function. Under the hood, the slidify function from the slidify package is called.

Value

The preview_chapter function does not return a value but it is called for its side effect as described above.

Examples

1
preview_chapter("index.Rmd")

jonathancornelissen/datamind documentation built on May 19, 2019, 7:28 p.m.