jacob-long / jtools

Tools for summarizing/visualizing regressions and other helpful stuff
https://jtools.jacob-long.com
GNU General Public License v3.0
165 stars 22 forks source link

Error in export_summs knitting to pdf #108

Closed theloniousgoerz closed 2 years ago

theloniousgoerz commented 3 years ago

I am making a regression table with the export_summs function and for some reason it will not knit to pdf even when the results are set to "asis". I am not sure if this is a bug or if someone has some clarity on the issue?

## reproducible example, code chunk set results = "asis"
export_summs(lm(lifeExp ~ pop, data = gapminder:: gapminder))
ehsong commented 2 years ago

I'm having the same issue - I can't knit regression results to pdf

jacob-long commented 2 years ago

I cannot replicate this issue.

Using the following .Rmd

---
title: "test"
author: "Jacob Long"
date: '2022-04-07'
output: 
  pdf_document:
    keep_tex: true
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(jtools)
export_summs(lm(lifeExp ~ pop, data = gapminder:: gapminder))


I get the following output: [test.pdf](https://github.com/jacob-long/jtools/files/8447189/test.pdf)

I did need to update my TeX installation first, though.