- using R Under development (unstable) (2024-12-17 r87446)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘LTRCforests/DESCRIPTION’ ... OK
- this is package ‘LTRCforests’ version ‘0.7.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘LTRCforests’ can be installed ... [60s/162s] OK
See the install log for details.
- used C compiler: ‘gcc-14 (GCC) 14.2.0’
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... [3s/11s] OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/12s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/13s] OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [47s/145s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... 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.
- checking examples ... [9s/32s] 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 ...
- checking PDF version of manual ... [8s/29s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE