Error: restricted system commands enabled. <simpleError: LaTeX failed to compile test.tex.

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

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.