Closed erondeau closed 3 years ago
The above did seem to work for me, so if you have some errors let me know.
This stack overflow was where I got the answer:
https://stackoverflow.com/questions/66305776/got-knit-issue-with-r
This is now in Appendix A:
Will close, as I see this as Fixed, but needing to be maintained for reference.
Upon updating R to 4.0.3, I noticed that an error was produced when trying to run the benchmark r-markdown, about missing dependencies "pdfcrop" and "ghostscript". This seems to be a result of pdfcrop being added to tinytex, but it wasn't straightforward to fix:
1) I downloaded and installed a program called ghostscript: https://www.ghostscript.com/download/gsdnld.html; but it is also in the software catalogue for download. (search for "ghost" brings it up) 2)
install_tinytex()
3)tinytex::reinstall_tinytex()
4)tinytex::tlmgr_install("pdfcrop")
I thought it was isolated to me, so I didn't think to much of it, but we saw this error again this morning on another computer. So this is likely going to keep popping up.
The above is what I believe is the minimum required, but at one point tinytex::tlmgr_install asked me to install/update some other items. It wasn't clear if all were needed, but I did anyways, so would recommend doing so as well.