Locate a specific Pandoc version installed with this package
Source:R/pandoc-install.R
pandoc_locate.RdThis package helps install and manage Pandoc binaries in a specific folder.
This function helps with finding the path to those specific versions of Pandoc.
See pandoc_bin() for another way of getting paths to pandoc binaries
Examples
# where is the default active version located ?
pandoc_locate()
#> [1] "~/.local/share/r-pandoc/2.18"
pandoc::pandoc_is_installed("2.11.4")
#> [1] TRUE
# where is a specific installed version located
pandoc_locate("2.11.4")
#> [1] "~/.local/share/r-pandoc/2.11.4"
# return root folder of installed versions
pandoc_locate(NULL)
#> [1] "~/.local/share/r-pandoc"