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())

Arguments

app_dir

Development app's directory, defaults to getwd().

Pandoc_version

Pandoc version to use, defaults to: pandoc_available. This ensures that the same version of Pandoc used during development is installed on users' computers.

Value

sprintf("pandoc-%s-windows.msi", Pandoc_version) in app_dir.

Details

If create_app(include_Pandoc = TRUE), then get_Pandoc.

See also