CRAN Package Check Results for Package LTRCforests

Last updated on 2024-12-25 03:50:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.0 29.30 88.61 117.91 ERROR
r-devel-linux-x86_64-debian-gcc 0.7.0 21.71 62.77 84.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.0 192.58 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.0 190.95 ERROR
r-devel-windows-x86_64 0.7.0 35.00 97.00 132.00 ERROR
r-patched-linux-x86_64 0.7.0 29.62 90.23 119.85 OK
r-release-linux-x86_64 0.7.0 29.32 88.90 118.22 OK
r-release-macos-arm64 0.7.0 53.00 OK
r-release-macos-x86_64 0.7.0 87.00 OK
r-release-windows-x86_64 0.7.0 33.00 98.00 131.00 OK
r-oldrel-macos-arm64 0.7.0 57.00 OK
r-oldrel-macos-x86_64 0.7.0 123.00 OK
r-oldrel-windows-x86_64 0.7.0 40.00 130.00 170.00 OK

Additional issues

0len gcc-UBSAN

Check Details

Version: 0.7.0
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: pbcsample.Rd: pbcseq, survival Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 0.7.0
Check: compiled code
Result: NOTE File ‘LTRCforests/libs/LTRCforests.so’: Found non-API call to R: ‘STRING_PTR’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.7.0
Check: examples
Result: ERROR Running examples in ‘LTRCforests-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 ... Segmentation fault Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.7.0
Check: examples
Result: ERROR 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 ... Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.7.0
Check: compiled code
Result: NOTE File 'LTRCforests/libs/x64/LTRCforests.dll': Found non-API call to R: 'STRING_PTR' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-devel-windows-x86_64

Version: 0.7.0
Check: examples
Result: ERROR 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) Flavor: r-devel-windows-x86_64