pandoc_installed_versions()lists all versions already installedpandoc_installed_latest()returns the most recent installed versionpandoc_is_installed()allows to check for a specific installed version
Usage
pandoc_installed_versions()
pandoc_installed_latest()
pandoc_is_installed(version, error = FALSE, ask = FALSE)Value
A character vector of installed versions or a logical for
pandoc_is_installed(). It will return NULL is no versions are installed.
For pandoc_is_installed(), TRUE if only the required version is
installed. If FALSE and ask is TRUE, the user will be prompt for
installing the version.
Examples
pandoc_installed_versions()
#> [1] "3.8.2.1" "3.8.2" "3.8.1" "3.8" "3.7.0.2" "3.7.0.1"
#> [7] "3.7" "3.6.4" "3.6.3" "3.6.2" "3.6.1" "3.6"
#> [13] "3.5" "3.4" "3.3" "3.2.1" "3.2" "3.1.13"
#> [19] "3.1.12.3" "3.1.12.2" "3.1.12.1" "3.1.12" "3.1.11.1" "3.1.11"
#> [25] "3.1.10" "3.1.9" "3.1.8" "3.1.7" "3.1.6.2" "3.1.6.1"
#> [31] "3.1.6" "3.1.5" "3.1.4" "3.1.3" "3.1.2" "3.1.1"
#> [37] "3.1" "3.0.1" "3.0" "2.19.2" "2.19.1" "2.19"
#> [43] "2.18" "2.17.1.1" "2.17.1" "2.17.0.1" "2.17" "2.16.2"
#> [49] "2.16.1" "2.16" "2.15" "2.14.2" "2.14.1" "2.14.0.3"
#> [55] "2.14.0.2" "2.14.0.1" "2.14" "2.13" "2.12" "2.11.4"
#> [61] "2.11.3.2" "2.11.3.1" "2.11.3" "2.11.2" "2.11.1.1" "2.11.1"
#> [67] "2.11.0.4" "2.11.0.2" "2.11.0.1" "2.11" "2.7.3"
pandoc_installed_latest()
#> [1] "3.8.2.1"
pandoc_is_installed("2.19.2")
#> [1] TRUE
pandoc_installed_latest()
#> [1] "3.8.2.1"