Having Trouble Determining Error with Bookdown

Dear Gentle RStudio People,
I am seeing this error when I build a book with Bookdown. The odd thing is that line 179 is the end of the r-script...

Any ideas,

  • RStudio-Version 1.2.1335
  • pandoc 2.7.3, Compiled with pandoc-types, texmath, skylighting 0.8.1
  • bookdown 0.12

Underfull \hbox (badness 10000) in paragraph at lines 179--181

Underfull \hbox (badness 10000) in paragraph at lines 181--183

Underfull \hbox (badness 10000) in paragraph at lines 183--185

Underfull \hbox (badness 10000) in paragraph at lines 185--187

Underfull \hbox (badness 10000) in paragraph at lines 187--189

Underfull \hbox (badness 10000) in paragraph at lines 189--191

<images/R-cran-homepage.png, id=67, 1195.46625pt x 708.6475pt>
File: images/R-cran-homepage.png Graphic file (type png)
<use images/R-cran-homepage.png>
Package pdftex.def Info: images/R-cran-homepage.png used on input line 262.
(pdftex.def) Requested size: 305.34149pt x 181.00008pt.

! LaTeX Error: \caption outside float.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.

l.266 \caption
Here is how much of TeX's memory you used:
10318 strings out of 494553
145018 string characters out of 6177720
213134 words of memory out of 5000000
13814 multiletter control sequences out of 15000+600000
67797 words of font info for 55 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
28i,8n,32p,1860b,330s stack positions out of 5000i,500n,10000p,200000b,80000s

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


The line is the reference to the tex file, not your rmd file. There is an option to keep the intermediary tex file. As explained in the doc.

Then point is what you have to do. The content of the tex file might help you if you know latex.



This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.