My next steps in debugging this is: 1. make sure my latex CAN generate PDFs by editing .tex file 2. Run pdflatex as an Admin 3. Download "texinfo" externally (unable to do in R studio as it says it is incompatible with this version of R) 4. Inspect Rd files
I have made no real progress on this bug... What is interesting is that previously, before I changed my code for feedback from manual review, this didn't happen. On Wed, Sep 14, 2022 at 1:30 PM Matthias Gondan <matthias-gon...@gmx.de> wrote: > That’s interesting. I was just wondering if it is installed, given the > message „pdflatex is not available“. > > > > > > > > *Von: *Edward Wei <edwwei2...@gmail.com> > *Gesendet: *Mittwoch, 14. September 2022 22:26 > *An: *Matthias Gondan <matthias-gon...@gmx.de> > *Cc: *r-package-devel@r-project.org > *Betreff: *Re: [R-pkg-devel] Unable to create manual > > > > Hello Matthias. > > > > This is what is returned when I try pdflatex on terminal > > > > This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.8.28) > (preloaded format=pdflatex.fmt) > restricted \write18 enabled. > ** > > > > > > > > On Mon, Sep 12, 2022 at 7:20 AM Matthias Gondan <matthias-gon...@gmx.de> > wrote: > > You may wish to check first if pdflatex works from the folder, i.e. > > > > C:\Users\edmon\Documents\R\RFIN> pdflatex > > > > The problem with Rd.sty may be unrelated. > > > > > > *Von: *Edward Wei <edwwei2...@gmail.com> > *Gesendet: *Montag, 12. September 2022 15:09 > *An: *r-package-devel@r-project.org > *Betreff: *[R-pkg-devel] Unable to create manual > > > > This is the following error message I get from R CMD check: > > > > LaTeX errors when creating PDF version. > > This typically indicates Rd problems. > > * checking PDF version of manual without index ... ERROR > > Re-running with no redirection of stdout/stderr. > > Hmm ... looks like a package > > Converting parsed Rd's to LaTeX ... > > Creating pdf output from LaTeX ... > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : > > pdflatex is not available > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : > > pdflatex is not available > > Error in running tools::texi2pdf() > > You may want to clean up by 'rm -Rf > > C:/Users/edmon/AppData/Local/Temp/RtmpWkD7Iy/Rd2pdf35d81e3e188c' > > * DONE > > > > Status: 1 ERROR, 1 WARNING, 2 NOTEs > > > > > > Then, I tried debugging by isolating errors from the Rd to PDF conversion. > > > > > > C:\Users\edmon\Documents\R\RFIN> R CMD Rd2pdf avfintools --no-clean > > Hmm ... looks like a package > > Converting Rd files to LaTeX ... > > Creating pdf output from LaTeX ... > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : > > pdflatex is not available > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : > > pdflatex is not available > > Error in running tools::texi2pdf() > > You may want to clean up by 'rm -Rf .Rd2pdf27964' > > > > > > In this folder is the file Rd2.tex which I tried to complie into a pdf. But > > this error returns and PDF cannot be compiled. : > > > > > > LaTeX Error: File `Rd.sty' not found. > > > > Type X to quit or <RETURN> to proceed, > > or enter new name. (Default extension: sty) > > > > Enter file name: > > ! Emergency stop. > > <read *> > > > > l.4 \usepackage > > {makeidx}^^M > > ==> Fatal error occurred, no output PDF file produced! > > > > > > Thanks for your help, > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel