Closed martinzuba closed 4 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.
Error in if (scale == TRUE) { : missing value where TRUE/FALSE needed
robust
Reproducible example: lm(speed ~ dist, data = cars) %>% summ(robust = "HC3") # works as expected
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.
robust = TRUE
scale
TRUE
I'm not able to replicate this issue. I'm thinking it must have been inadvertently fixed at some point.
The export_summs function produces the error
Error in if (scale == TRUE) { : missing value where TRUE/FALSE needed
when arobust
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 thenscale
seems to be set toTRUE
no matter what is specified.