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

export_summs does not work with robust arguments #77

Closed martinzuba closed 4 years ago

martinzuba commented 5 years ago

The export_summs function produces the error Error in if (scale == TRUE) { : missing value where TRUE/FALSE needed when a robust argument is given.

Reproducible example: lm(speed ~ dist, data = cars) %>% summ(robust = "HC3") # works as expected

lm(speed ~ dist, data = cars) %>% export_summs(robust = "HC1") #error

It seems to work with robust = TRUE but then scale seems to be set to TRUE no matter what is specified.

jacob-long commented 4 years ago

I'm not able to replicate this issue. I'm thinking it must have been inadvertently fixed at some point.