Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreparePDFReport(): Error in tools::texi2dvi("Analysis_Report.tex", pdf = TRUE, quiet = TRUE) #306

Open
JG1ANDONLY opened this issue May 10, 2024 · 0 comments

Comments

@JG1ANDONLY
Copy link

I tried to output the mSet to PDF but failed:
PreparePDFReport(mSet, "placeholder")

The error says:

Writing to file Analysis_Report.tex
Processing code chunks with options ...
1 : keep.source term verbatim (Analysis_Report.Rnw:6)
2 : keep.source term tex (Analysis_Report.Rnw:53)
Warning: Attempt to use "longtable" with floating = TRUE. Changing to FALSE. 3 : keep.source term tex (Analysis_Report.Rnw:112)
Warning: Attempt to use "longtable" with floating = TRUE. Changing to FALSE. 4 : keep.source term verbatim (Analysis_Report.Rnw:119)
[1] "R version 4.3.1 (2023-06-16)"

You can now run (pdf)latex on ‘Analysis_Report.tex’
Error in tools::texi2dvi("Analysis_Report.tex", pdf = TRUE, quiet = TRUE) :
Running 'texi2dvi' on 'Analysis_Report.tex' failed.
LaTeX errors:
! Missing $ inserted.

$
l.12 \maketitle

! Emergency stop.

$
l.12 \maketitle

! ==> Fatal error occurred, no output PDF file produced!
[1] 1

How do you solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant