title: L-BFGS-B needs finite values of 'fn' COMPOisson
body: <p>I want to fit <code>COMPoisson</code> regression and showed this error:</p>
  <blockquote>
  <p>L-BFGS-B needs finite values of 'fn'</p>
  </blockquote>
  <p>I have 115 participant with two independent variable(ADT, HV) &amp; dependent variable(Cr.fatal).</p>
  <p>syntax:</p>
  <pre><code>library(COMpoissonReg)
  
  comp3&lt;-glm.cmp(CR.fatal ~ADT+HV,data = cdata)
  </code></pre>
  <p>output:</p>
  <blockquote>
  <p>Error in optim(par.init, loglik, method = optim.method, control = optim.control,  :<br />
  L-BFGS-B needs finite values of 'fn'</p>
  </blockquote>