View source: R/pandoc-install.R
pandoc_install | R Documentation |
Binary releases of Pandoc are available on its release page. By default, this
function will install the latest available version.
pandoc_install_nightly()
is a wrapper for pandoc_install("nightly")
.
pandoc_update()
is an alias for pandoc_install()
default behavior.
pandoc_install(version = "latest", force = FALSE)
pandoc_update()
pandoc_install_nightly(n_last = 1L)
version |
This can be either:
|
force |
To set to |
n_last |
Set to |
Pandoc versions are installed in user data directories with one folder per
version. See pandoc_locate()
.
Only one nightly version is available at a time as there should be no need to switch between them. The latest nightly will be installed over the current one if any. Installing nightly version is useful for example to test a bug against the very last available built version.
Invisibly, the path where the binary is installed otherwise. NULL
if already
installed.
# Install the latest pandoc version
pandoc_install() # or pandoc_update()
pandoc_uninstall("latest")
# Install a specific pandoc version
pandoc_install("2.11.4")
pandoc_uninstall("2.11.4")
# Install last nightly build of pandoc
pandoc_install_nightly()
pandoc_uninstall("nightly")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.