title: bestglm R package error using Poisson regression
body: <p>I'm trying to use the bestglm package in R to fit a Poisson regression model. Here is my code:</p>
  
  <p><code>bestmodel &lt;- bestglm(Xy, family = poisson, IC ="BIC")</code></p>
  
  <p>and the output is</p>
  
  <p><code>Morgan-Tatar search since family is non-gaussian.
  Error in dimnames(Bestq) &lt;- list(c("BICq1", "BICq2"), c("q1", "q2", "selected k")) : 
    length of 'dimnames' [2] not equal to array extent
  In addition: There were 50 or more warnings (use warnings() to see the first 50)</code></p>
  
  <p>Theres nothing special about the data frame Xy, except that it does not strictly contain integers, which is causing the final collection of warnings. Notably, the code </p>
  
  <p><code>bestmodel &lt;- bestglm(Xy, IC ="BIC")</code></p>
  
  <p>runs just fine.</p>
  
  <p>Is this a bug, or is there something I can do to get it to run? </p>