Downloads Pandoc in app_dir
. If Pandoc has already been downloaded, get_Pandoc
will use that file. If the download fails it will stop.
get_Pandoc(app_dir, Pandoc_version = rmarkdown::pandoc_version())
Shiny app's directory, defaults to getwd()
.
Pandoc version to use, defaults to: pandoc_version
. This ensures that the same version of Pandoc used during development is installed on users' computers.
sprintf("pandoc-%s-windows.msi", Pandoc_version)
in app_dir
.
If create_app(include_Pandoc = TRUE)
, then get_Pandoc
.
get_R
, copy_installation
, create_config
, create_bat
, directives
, setup
, languages
, tasks
, files
, icons
, run
, and code
.