title: How do I use print list-column of regression models in a tibble using huxtable()
body: <p>I am trying to produce an Rmarkdown document that prints a series of regression models I currently have stored in list-column in a tibble. The regression models look like this. </p>
  
  <pre><code>#generate data
  covar1&lt;-rnorm(100)
  covar2&lt;-rnorm(100)
  depvar1&lt;-rnorm(100)
  depvar2&lt;-rnorm(100)
  #generate models
  model1&lt;-lm(depvar1~covar1)
  model2&lt;-lm(depvar1~covar1+covar2)
  model3&lt;-lm(depvar2~covar1)
  model4&lt;-lm(depvar2~covar1+covar2)
  #list models
  library(huxtable)
  library(dplyr)
  model.list&lt;-list(model1, model2,model3, model4)
  #make tibble
  model.list&lt;-tibble(model.list)
  #name models by dependent variable
  model.list$model_name&lt;-c('Depvar1', 'Depvar1', 'Depvar2', 'Depvar2' )
  #check
  model.list
  
  </code></pre>
  
  <p>I know that you can just do </p>
  
  <pre><code>huxreg(model1, model2, model3, model4)
  </code></pre>
  
  <p>But i have many more models, and many more list columns that I want to ignore.  I was trying.</p>
  
  <pre><code>library(purrr)
  map(model.list[,1], huxreg)
  </code></pre>
  
  <p>And that works, to a point, but it does not render properly in Rarkdown. </p>