CRAN Package Check Results for Maintainer ‘Weichi Yao <weichi.yao at gmail.com>’

Last updated on 2024-11-09 01:50:12 CET.

Package ERROR NOTE OK
LTRCforests 1 4 8

Package LTRCforests

Current CRAN status: ERROR: 1, NOTE: 4, OK: 8

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: > ### 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 ... Flavor: 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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.