ismayc / thesisdown

An updated R Markdown thesis template using the bookdown package
Other
809 stars 357 forks source link

uncomment lines #119

Closed abichat closed 3 years ago

abichat commented 3 years ago

In your pull request #117, you commented this three lines

  old_opt <- getOption("bookdown.post.latex")
  options(bookdown.post.latex = fix_envs)
  on.exit(options(bookdown.post.late = old_opt))

which causes the broke of both my local and remote (on GitHub Action) with this uninformative error:

! LaTeX Error: There's no line here to end.
Error: Error: LaTeX failed to compile thesis.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See thesis.log for more info.

Actually, I don't understand what these lines do. But uncommenting them fixed my issue.

Thanks!

github-actions[bot] commented 3 years ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems.