In R Markdown ecosystem we are testing older pandoc version. This may not be a wide usage.
I was trying to understand why I lost pandoc-citeproc availability with 2.73 and 2.5 and it took me time to understand that using r-lib/actions/setup-r-dependencies@v2 will try to install pandoc from Ubuntu repo (which is currently version 2.9.2.1).
This will make any version installed with r-lib/actions/setup-pandoc@v2 in a step before to be installed over and make rmarkdown use this latest one, which is unexpected.
Opening this issue to share this problem. Don't know if there could be a solution. Several ideas:
- not install pandoc in
r-lib/actions/setup-r-dependencies@v2 with pak if already installed
- Add as switch to opt-in a removal of Pandoc
r-lib/actions/setup-r-dependencies@v2
Currently, our solution is to uninstall Pandoc after r-lib/actions/setup-r-dependencies@v2 and installing manually using the setup-pandoc action.
In R Markdown ecosystem we are testing older pandoc version. This may not be a wide usage.
I was trying to understand why I lost
pandoc-citeprocavailability with 2.73 and 2.5 and it took me time to understand that usingr-lib/actions/setup-r-dependencies@v2will try to install pandoc from Ubuntu repo (which is currently version 2.9.2.1).This will make any version installed with
r-lib/actions/setup-pandoc@v2in a step before to be installed over and make rmarkdown use this latest one, which is unexpected.Opening this issue to share this problem. Don't know if there could be a solution. Several ideas:
r-lib/actions/setup-r-dependencies@v2with pak if already installedr-lib/actions/setup-r-dependencies@v2Currently, our solution is to uninstall Pandoc after
r-lib/actions/setup-r-dependencies@v2and installing manually using thesetup-pandocaction.