@reichmaj thank you that is interesting. I feel the issue is with this network path pass as argument to Pandoc
--template "\coe.ic.gov\Home\ESDC\NGA_HO~2\al52975\My Documents\R\win-library\3.6\rmarkdown\rmd\h\default.html"
basically you rmarkdown
installation is on another network drive and Pandoc does not find this path to be correct. Is this path above correct and working when you paste it in an explorer window ?
I don't know if it is Pandoc that does not deal correctly or rmarkdown that does not create the correct command line to pandoc. Or even RStudio IDE which does something different with this path thing.
I know Pandoc has fixed some issues in the past, and I think you are using an old version because still using RStudio 1.2.
can you check ?
rmarkdown::pandoc_version()
You can use a recent version of Pandoc by following
That would be the first thing to do to rule Pandoc version.
Other check would be to see what these 2 commands returns
system.file("rmarkdown", "lua", "latex-div.lua", package = "rmarkdown")
rmarkdown::pkg_file_lua("latex-div.lua")
can you run them ?
Also on your computer, does H:// is for \coe.ic.gov\Home\ESDC\NGA_HO~2\al52975\ ?
Then if you're willing to help more, we could try several things like just running Pandoc command line to see how it works or try to enter debug mode to see how the path is maybe modified.