I am using the summ() function from the jtools package with kableExtra to knit a PDF document. Why i

I am using RStudio 1.3.1093 with R 4.0.2 and I have created a markdown file for a class project. I am using the summ() function from jtools along with kableExtra to make the output from summ() look good. But when I knit the document, the table is split by a paragraph that is supposed to follow it:

Picture of incorrect output

I don't have any extra kable styling or anything, my code is simply:

Pfit <- lm(epa ~ yards_gained + yards_after_catch + air_yards + as.factor(fumble) + as.factor(fumble_lost) + yardline_100 + ydstogo + ydsnet, data = Pdf) summ(Pfit) 

Any ideas on how to fix this? Or is my only option to remove kableExtra?

Related questions 10 Creating good kable output in RStudio 1 How to modularize the output of a kable function? 13 How to split kable over multiple columns? Related questions 10 Creating good kable output in RStudio 1 How to modularize the output of a kable function? 13 How to split kable over multiple columns? 8 How to prevent a kable from splitting between pages? 1 knitr::kable does not pretty print after running an R chunk 0 Problem with KableExtra output tables in Rmarkdown(RStudio): paste0 function 0 How to stop kable from repeating one row to the end of the page 1 Kable output won't align left in rmarkdown 0 kableExtra linebreak cannot produce line breaks 0 Why using kableExtra library wrongly formats output of RMarkdown to Word Load 7 more related questions Show fewer related questions

Sorted by: Reset to default

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobW5qZW2AdH2OomSapV2qwKq6xmaroZ1dqMKuuYyfrKebpJ68r3nFq6amZaSdsm6206impatdpa6kt8CgnGavmam1brfAm6Oenaipv6J506hkpKaZqXqi