Running examples in ‘COUNT-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: azprocedure
> ### Title: azprocedure
> ### Aliases: azprocedure
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(MASS)
> library(msme)
> 
> data(azprocedure)
> 
> glmazp <- glm(los ~ procedure + sex + admit, family=poisson, data=azprocedure)
> summary(glmazp)

Call:
glm(formula = los ~ procedure + sex + admit, family = poisson, 
    data = azprocedure)

Deviance Residuals: 
    Min       1Q   Median       3Q      Max  
-3.1987  -1.1451  -0.4756   0.5331  12.4784  

Coefficients:
            Estimate Std. Error z value Pr(>|z|)    
(Intercept)  1.49140    0.01539   96.91   <2e-16 ***
procedure    0.95738    0.01218   78.61   <2e-16 ***
sex         -0.13022    0.01179  -11.04   <2e-16 ***
admit        0.33307    0.01210   27.52   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

(Dispersion parameter for poisson family taken to be 1)

    Null deviance: 16265.0  on 3588  degrees of freedom
Residual deviance:  8968.9  on 3585  degrees of freedom
AIC: 22483

Number of Fisher Scoring iterations: 5

> exp(coef(glmazp))
(Intercept)   procedure         sex       admit 
  4.4433339   2.6048728   0.8779003   1.3952480 
> 
> nb2 <- nbinomial(los ~ procedure + sex + admit, data=azprocedure)
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
Warning in dnbinom(y, size = scale, mu = y.hat, log = TRUE) :
  NaNs produced
> summary(nb2)
Error in if (object$family$family %in% c("poisson", "binomial")) 1 else if (df.r >  : 
  argument is of length zero
Calls: summary -> summary.glm
Execution halted