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

> ### Name: jomo.coxph.MCMCchain
> ### Title: coxph Compatible JM Imputation - A tool to check convergence of
> ###   the MCMC
> ### Aliases: jomo.coxph.MCMCchain
> 
> ### ** Examples
> 
>     # define substantive model
> 
>     formula<-as.formula(Surv(time, status) ~ measure + sex + I(measure^2))
>     
>     #Run imputation
>     
> if (requireNamespace("survival", quietly = TRUE)) {
+   library(survival)
+   #imp<-jomo.coxph.MCMCchain(formula,surdata, nburn = 100)
+   }
>     
> 
> 
> 
> cleanEx()

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

Traceback:
 1: new %in% names(ns)
 2: namespaceExport(ns, exports)
 3: loadNamespace(name)
 4: getNamespace(ns)
 5: asNamespace(pkg)
 6: get(name, envir = asNamespace(pkg), inherits = FALSE)
 7: tools:::detachPackages
 8: cleanEx()
An irrecoverable exception occurred. R is aborting now ...