I am trying to apply an standard example of shiny to generate either a html or pdf report. I run the app on a centos 7 based shiny server. I tried at first this example.
By downloading a pdf file I do not get any file and by downloading a html file I get the file, however one cannot open it.
In the log-file there is the following message:
Warning: Error in : LaTeX failed to compile report.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See report.log for more info.
[No stack trace available]
Warning in system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
error in running command
! sh: pdflatex: command not found
Warning: Error in : LaTeX failed to compile report.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See report.log for more info.
[No stack trace available]
Output created: report.html
Output created: report.html
Output created: report.html
I found the following link. I checked for the pandoc on my system
/opt/shiny-server/ext/pandoc
however pandoc is not active apparently. Do I need pandoc really? In this case, how can I activate it? Can I use the installed pandoc from shiny server?
Is there any other possibility to generate reports without applying pandoc?