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

> ### Name: jomo.clmm
> ### Title: Joint Modelling Imputation Compatible with Cumulative Link Mixed
> ###   Model
> ### Aliases: jomo.clmm
> 
> ### ** Examples
> 
> 
> 
>   # make sure social is a factor:
>   
>   cldata<-within(cldata, social<-factor(social))
>   
>   # we define the data frame with all the variables 
>   
>   data<-cldata[,c("measure","age", "social", "city")]
>   
>   # And the formula of the substantive lm model 
>   # social as an outcome only because it is the only ordinal variable in the dataset...
>   
>   formula<-as.formula(social~age+measure+(1|city))
>   
>   #And finally we run the imputation function:
>   
>   imp<-jomo.clmm(formula,data, nburn=2, nbetween=2, nimp=2)
This function is beta software. Please use carefully and report any bug to the package mantainer

 *** caught segfault ***
address 70a, cause 'memory not mapped'

Traceback:
 1: mode(expr) %in% c("call", "expression", "(", "function")
 2: deparse(x[[1L]])
 3: mode(expr)
 4: mode(expr) %in% c("call", "expression", "(", "function")
 5: deparse(substitute(x), width.cutoff = 500L)
 6: paste(deparse(substitute(x), width.cutoff = 500L), collapse = " ")
 7: force(nm)
 8: as.data.frame.integer(x[[i]], optional = TRUE)
 9: as.data.frame(x[[i]], optional = TRUE)
10: data.frame(i = i, j = if (n) 0:(n - 1L) else integer())
11: fac2sparse(from, to = "d")
12: asMethod(object)
13: as(ff, "sparseMatrix")
14: FUN(X[[i]], ...)
15: lapply(barlist, function(x) {    ff <- eval(substitute(as.factor(fac)[, drop = TRUE], list(fac = x[[3]])),         fullmf)    Zti <- as(ff, "sparseMatrix")    mm <- model.matrix(eval(substitute(~expr, list(expr = x[[2]]))),         fullmf)    Zt = do.call(rbind, lapply(seq_len(ncol(mm)), function(j) {        Zti@x <- mm[, j]        Zti    }))    ST <- matrix(0, ncol(mm), ncol(mm), dimnames = list(colnames(mm),         colnames(mm)))    list(f = ff, Zt = Zt, ST = ST)})
16: getREterms(frames = frames, formulae$formula)
17: ordinal::clmm(formula, data = data, na.action = na.omit, Hess = T,     link = "probit")
18: jomo.clmm(formula, data, nburn = 2, nbetween = 2, nimp = 2)
An irrecoverable exception occurred. R is aborting now ...