I developed rmarkdown to create pdf from parameters imported from shiny. It works fine with shiny but it does not work well with plumber API. It produces following error:
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021/W32TeX)
restricted system commands enabled.
<simpleError: LaTeX failed to compile C:\Users\ARUNSH~1\AppData\Local\Temp\RtmpwVTRAc\file2fb452774ca6.tex.
The line " restricted system commands enabled" does not appear while publishing pdf via shiny but it appears when I publish through plumber API and error appears. I tried YiHui's tips for debugging but does not work. Pls help