Yes, this is a known bug that will be removed in the next release. For now, you can apply the following fix:
On line 3956 of stargazer-internal.R
, please replace:
if (!is.na(.global.coefficients[k,i])) {
by the following:
if (!is.na(.global.coefficients[.global.coefficient.variables[k],i]))
Then, install again from source. You can also e-mail the package's author for a working version of stargazer
that corrects this issue.