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: .C("NRalgv3", as.integer(ctrl$trace), as.integer(ctrl$maxIter),     as.double(ctrl$gradTol), as.integer(ctrl$maxLineIter), as.integer(grFac),     as.double(tau), as.double(o1), as.double(o2), as.double(eta1Fix),     as.double(eta2Fix), as.double(sigma), as.integer(linkInt),     as.double(wts), u = as.double(uStart), fitted = as.double(fitted),     funValue = double(1), gradValues = as.double(uStart), hessValues = as.double(rep(1,         length(uStart))), length(fitted), length(uStart), maxGrad = double(1),     conv = 0L, as.double(lambda), Niter = as.integer(Niter))
 2: eval(substitute(expr), data, enclos = parent.frame())
 3: eval(substitute(expr), data, enclos = parent.frame())
 4: with.default(rho, {    .C("NRalgv3", as.integer(ctrl$trace), as.integer(ctrl$maxIter),         as.double(ctrl$gradTol), as.integer(ctrl$maxLineIter),         as.integer(grFac), as.double(tau), as.double(o1), as.double(o2),         as.double(eta1Fix), as.double(eta2Fix), as.double(sigma),         as.integer(linkInt), as.double(wts), u = as.double(uStart),         fitted = as.double(fitted), funValue = double(1), gradValues = as.double(uStart),         hessValues = as.double(rep(1, length(uStart))), length(fitted),         length(uStart), maxGrad = double(1), conv = 0L, as.double(lambda),         Niter = as.integer(Niter))[c("u", "fitted", "funValue",         "gradValues", "hessValues", "maxGrad", "conv", "Niter")]})
 5: with(rho, {    .C("NRalgv3", as.integer(ctrl$trace), as.integer(ctrl$maxIter),         as.double(ctrl$gradTol), as.integer(ctrl$maxLineIter),         as.integer(grFac), as.double(tau), as.double(o1), as.double(o2),         as.double(eta1Fix), as.double(eta2Fix), as.double(sigma),         as.integer(linkInt), as.double(wts), u = as.double(uStart),         fitted = as.double(fitted), funValue = double(1), gradValues = as.double(uStart),         hessValues = as.double(rep(1, length(uStart))), length(fitted),         length(uStart), maxGrad = double(1), conv = 0L, as.double(lambda),         Niter = as.integer(Niter))[c("u", "fitted", "funValue",         "gradValues", "hessValues", "maxGrad", "conv", "Niter")]})
 6: update.uC(rho)
 7: obj.fun(rho, par)
 8: fun(xss, ...)
 9: deriv12(function(par) obj.fun(rho, par), x = fit$par)
10: clmm.fit.ssr(rho, control = control$optCtrl, method = control$method,     Hess)
11: ordinal::clmm(formula, data = data, na.action = na.omit, Hess = T,     link = "probit")
12: jomo.clmm(formula, data, nburn = 2, nbetween = 2, nimp = 2)
An irrecoverable exception occurred. R is aborting now ...