initialize_tutorial {learnr}R Documentation

Initialize tutorial R Markdown extensions

Description

One time initialization of R Markdown extensions required by the learnr package. This function is typically called automatically as a result of using exercises or questions.

Usage

initialize_tutorial()

Value

If not previously run, initializes knitr hooks and provides the required rmarkdown::shiny_prerendered_chunk()s to initialize learnr.


[Package learnr version 0.11.5 Index]