Open jsgro opened 4 years ago
SOLVED thank to Yihui's answer. Problem was due to some changes in Markdown. See his answer in https://github.com/yihui/tinytex/issues/230
SUMMARY if you have this problem:
remotes::install_github('rstudio/rmarkdown')
webshot::install_phantomjs()
After that the PDF is created and the \grViz
environment no longer is part of the .tex
file.
This is a reproducible error in Mac/Linux/Windows with
R 4.0.x
but notR 3.6.3
On Mac /Linux (inside various Docker images) there is an error preventing the making of PDF:
On Windows there is no error reported but the graph is not created at all.
However, all are OK in HTML and in
R 3.6.3
all worked OK in PDF as well.The
grViz
environment is a puzzling thing... and it is not created in the Windows version (hence PDF output but no graph.)I have posted this issue on Stack Overflow first: https://stackoverflow.com/questions/62856190/error-with-r-version-4-0-2-but-not-in-r-version-3-6-3-with-diagrammr-latex-er
For lack of answer I then pushed up to Yihui Latex issue page: https://github.com/yihui/tinytex/issues/230 that I have annotated multiple time with examples.
This ZIP file test1-files.zip contains output
.tex
for Mac/Linux/Windows for R 4.0.x and one for R 3.6.3 for which thetest1_files
folder is created.All details on the various tests to reproduce the error are on https://github.com/yihui/tinytex/issues/230
I am wondering if others are getting these errors too.