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

> ### Name: jomo.glmer
> ### Title: Joint Modelling Imputation Compatible with Generalized Linear
> ###   Mixed Model
> ### Aliases: jomo.glmer
> 
> ### ** Examples
> 
>   #First of all we load and atach the data:
>   
>   data(cldata)
>   attach(cldata)
>   
>   #Then we make sure sex is a factor:
>   
>   sex<-factor(sex)
>   
>   # we define the data frame with all the variables 
>   
>   data<-data.frame(measure,age, sex, city)
>   
>   # And the formula of the substantive lm model 
>   # sex as an outcome only because it is the only binary variable in the dataset...
>   
>   formula<-as.formula(sex~age+measure+(1|city))
>   
>   #And finally we run the imputation function:
>   
>   imp<-jomo.glmer(formula,data, nburn=2, nbetween=2, nimp=2)
This function is beta software. Please use carefully and report any bug to the package mantainer
Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :
  Model is nearly unidentifiable: very large eigenvalue
 - Rescale variables?
First imputation registered. 
Imputation number  2 registered 
The posterior mean of the substantive model fixed effects estimates is:
         [,1]        [,2] [,3]
[1,] 1.629165 0.003375227    0
The posterior mean of the substantive model residual variance is:
[1] 1
The posterior mean of the substantive model random effects covariance matrix is:
          [,1]
[1,] 0.1001671
The posterior mean of the substantive model random effects estimates is:
              [,1]
 [1,]  0.143697304
 [2,]  0.008082289
 [3,]  0.213430592
 [4,]  0.072786764
 [5,]  0.003694659
 [6,] -0.014713291
 [7,] -0.055579125
 [8,]  0.171738193
 [9,]  0.271150597
[10,]  0.098713962
The posterior mean of the fixed effects estimates is:
         [,1]      [,2]
[1,] 67.52943 0.9343568
The posterior mean of the random effects estimates is:
            [,1]       [,2]
 [1,]  0.7530529  0.7815032
 [2,]  0.5075272  0.4969109
 [3,]  0.6008976  0.1398352
 [4,] -0.7157273 -0.5137821
 [5,] -1.1352332 -0.7170512
 [6,] -1.4997000 -0.9524291
 [7,]  0.2934824  0.2204936
 [8,] -0.8469314 -0.7052150
 [9,]  0.0744857  1.1608099
[10,]  0.8207022 -0.4145881
The posterior mean of the level 1 covariance matrix is:
          [,1]       [,2]
[1,] 49.858255 -0.1060410
[2,] -0.106041  0.1845389
The posterior mean of the level 2 covariance matrix is:
          [,1]      [,2]
[1,] 0.8167132 0.3060864
[2,] 0.3060864 0.4632443

 *** caught segfault ***
address 6564d893, cause 'memory not mapped'

Traceback:
 1: as.vector(x[, i])
 2: as.data.frame.matrix(x[[i]], optional = TRUE)
 3: as.data.frame(x[[i]], optional = TRUE)
 4: data.frame(imp)
 5: jomo.glmer(formula, data, nburn = 2, nbetween = 2, nimp = 2)
An irrecoverable exception occurred. R is aborting now ...