Pandoc error 1033 when rendering multiple Rmarkdown reports
Here is the process that solved the error. The idea comes from @tarleb's comment. Error 1033 is not a Pandoc error ; it is not referenced here : https://github.com/jgm/pandoc/blob/master/MANUAL.txt#L1384.
And it is not the memory usage problem that can be solved with knitr::knit_meta(class=NULL, clean = TRUE)
As suggested here, update Pandoc can be the solution.
- Using
rmarkdown::pandoc_version()
check the pandoc version currently used to generate the Rmarkdown reports. - Go on this website : https://pandoc.org/releases.html and check if the version you are using is the latest one.
For me it was not the case (I was using v2.6 of Pandoc and last one was v2.7.3) So I followed the tutorial from this page : https://pandoc.org/installing.html.
Then I checked if rmarkdown::pandoc_version()
returned the latest version number and I reran my R script. It solved the problem.