Exports the notebook and an app.R file for launching the notebook as a shiny application

export_shiny(notebook, directory)

Arguments

notebook

Reactor notebook

directory

directory to place notebook and app.R file

Details

This function creates two files in the supplied directory: notebook.Rmd, which contains the supplied Reactor notebook, and app.R, which is a short file that launches the notebook as a Shiny application. The resulting folder functions as a Shiny application suitable for deployment on e.g. shinyapps.io.