You can run pandoc_installed_versions()
to see which versions are
currently installed on the system.
Examples
if (FALSE) { # rlang::is_interactive() && !pandoc::pandoc_is_installed("2.19.2")
pandoc_install("2.19.2")
pandoc_is_installed("2.19.2")
pandoc_uninstall("2.19.2")
}