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

> ### Name: ltrcrrf
> ### Title: Fit a LTRC relative risk forest
> ### Aliases: ltrcrrf
> 
> ### ** Examples
> 
> #### Example with time-varying data pbcsample
> library(survival)
> Formula = Surv(Start, Stop, Event) ~ age + alk.phos + ast + chol + edema
> # Built a LTRCRRF forest (based on bootstrapping subjects without replacement)
> # on the time-varying data by specifying id:
> LTRCRRFobj = ltrcrrf(formula = Formula, data = pbcsample, id = ID, stepFactor = 3,
+                      ntree = 10L)

 *** caught segfault ***
address 0x1, cause 'memory not mapped'

Traceback:
 1: doTryCatch(return(expr), name, parentenv, handler)
 2: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 3: tryCatchList(expr, classes, parentenv, handlers)
 4: tryCatch({    .Call("rfsrcGrow", as.integer(do.trace), as.integer(seed),         as.integer(ensemble.bits + impute.only.bits + var.used.bits +             split.depth.bits + importance.bits + bootstrap.bits +             forest.bits + proximity.bits + perf.bits + rfq.bits +             gk.quantile.bits + statistics.bits + empirical.risk.bits),         as.integer(samptype.bits + forest.wt.bits + distance.bits +             na.action.bits + split.cust.bits + membership.bits +             terminal.qualts.bits + terminal.quants.bits), as.integer(splitinfo$index),         as.integer(splitinfo$nsplit), as.integer(mtry), lot,         base.learner, as.integer(vtry), as.integer(holdout.array),         holdout.specs, as.integer(formulaDetail$ytry), as.integer(nodesize),         as.integer(nodedepth), as.integer(length(cause.wt)),         as.double(cause.wt), as.integer(ntree), as.integer(n),         as.integer(length(yvar.types)), as.character(yvar.types),         as.integer(yvar.nlevels), as.double(as.vector(yvar)),         as.integer(n.xvar), as.character(xvar.types), as.integer(xvar.nlevels),         as.integer(sampsize), as.integer(samp), as.double(case.wt),         as.double(split.wt), as.double(yvar.wt), as.double(xvar.wt),         as.double(xvar), as.integer(length(event.info$time.interest)),         as.double(event.info$time.interest), as.integer(nimpute),         as.integer(block.size), as.integer(length(prob)), as.double(prob),         as.double(prob.epsilon), as.double(NULL), as.integer(get.rf.cores()))}, error = function(e) {    print(e)    NULL})
 5: ltrcrfsrc(formula = Formula, data = data, ntree = ntree, mtry = mtry,     nodesize = nodesize, nodedepth = nodedepth, splitrule = "custom1",     nsplit = nsplit, bootstrap = bootstrap, samptype = samptype,     sampsize = sampsize, samp = samp, membership = TRUE, na.action = na.action,     ntime = ntime)
 6: ltrcrrf(formula = eformula, data = edata, id = id, mtry = emtryTest,     ntree = entreeTry, nodesize = enodesizeTry, nodedepth = enodedepth,     nsplit = ensplit, bootstrap = ebootstrap, samptype = esamptype,     sampfrac = esampfrac, samp = esamp, na.action = ena.action,     ntime = entime)
 7: errorOOB_mtry(eformula = formula, edata = data, id = id, emtryTest = mtryStart,     etpnt = time.eval, etau = time.tau, entreeTry = ntreeTry,     enodesizeTry = nodesizeTry, enodedepth = nodedepth, ensplit = nsplit,     ebootstrap = bootstrap, esamptype = samptype, esampfrac = sampfrac,     esamp = samp, ena.action = na.action, entime = ntime)
 8: tune.ltrcrrf(formula = formula, data = data, id = id, bootstrap = bootstrap,     samptype = samptype, sampfrac = sampfrac, samp = samp, ntreeTry = ntree,     nodesizeTry = nodesize, nodedepth = nodedepth, nsplit = nsplit,     na.action = na.action, ntime = ntime, stepFactor = stepFactor,     trace = trace, doBest = FALSE)
 9: ltrcrrf(formula = Formula, data = pbcsample, id = ID, stepFactor = 3,     ntree = 10L)
An irrecoverable exception occurred. R is aborting now ...