Closed gadenbuie closed 2 years ago
Oh yes that is a good idea. I have thought of the cache for subsequent call but not in that case of already install. I'll see to change the order. thanks!
It should now work. We only need to resolve version = "latest"
fetching GH information before being able to check if latest available version is installed. However, for specific version it should be ok now.
In a fresh session, calling
pandoc_install()
for a specific installed version will fetch pandoc releases from GitHub, which is slow. Subsequent calls topandoc_install()
are fast. Is it possible to check if the requested version is installed before fetching releases so thatpandoc_instal()
is always fast if the version is already installed?