* using log directory ‘/srv/hornik/tmp/CRAN_pretest/RiemannLebesgueForest.Rcheck’ * using R Under development (unstable) (2025-11-19 r89040) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.5 (1) Debian flang version 21.1.5 (1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘RiemannLebesgueForest/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RiemannLebesgueForest’ version ‘1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Tian Qin ’ New submission Possibly misspelled words in DESCRIPTION: Breiman (15:177) Liaw (15:255) Randomforest (15:159) RiemannLebesgueForest (3:8) aut (15:186, 15:225, 15:261, 15:297) cre (15:266) randomForest (15:342) The Title field starts with the package name. The Title field should be in title case. Current version is: ‘RiemannLebesgueForest for regression’ In title case that is: ‘RiemannLebesgueForest for Regression’ The Description field should not start with the package name, 'This package' or similar. * 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 serialization versions ... OK * checking whether package ‘RiemannLebesgueForest’ can be installed ... [4s/4s] OK * used C compiler: ‘Debian clang version 21.1.5 (1)’ * used Fortran compiler: ‘Debian flang version 21.1.5 (1)’ * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: ‘Tian Qin, Wei-Min Huang’ Authors@R: ‘Tian Qin [aut, cre], Wei-Min Huang [aut]’ * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [0s/0s] 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 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 ... OK * checking usage of KIND in Fortran files ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘RiemannLebesgueForest-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: RLForest > ### Title: RLForest > ### Aliases: RLForest > > ### ** Examples > > # basic usage of RLF (regression) > # data(airquality) > set.seed(217) > ozone.rlf <- RLForest(Ozone ~ ., data=airquality,na.action=na.omit,ntreesub=1,replace=FALSE,Lp=0.8) *** caught segfault *** address 0x7f2e8fb65ce6, cause 'invalid permissions' Traceback: 1: RLForest.default(m, y, ...) 2: RLForest.formula(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) 3: RLForest(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) An irrecoverable exception occurred. R is aborting now ... Segmentation fault * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] ERROR Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(RiemannLebesgueForest) > > > > > test_that("my_function returns the correct prediction and tree structure", { + # Test code with expectations + data(airquality) + set.seed(217) + ozone.rlf <- RLForest(Ozone ~ ., data=airquality,na.action=na.omit,ntreesub=1,replace=FALSE,Lp=0.8) + print(ozone.rlf) + (predict(ozone.rlf, airquality)) + }) *** caught segfault *** address 0x7f60c40d4ce6, cause 'invalid permissions' Traceback: 1: RLForest.default(m, y, ...) 2: RLForest.formula(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) 3: RLForest(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) 4: eval(code, test_env) 5: eval(code, test_env) 6: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 7: doTryCatch(return(expr), name, parentenv, handler) 8: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9: tryCatchList(expr, classes, parentenv, handlers) 10: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 11: doWithOneRestart(return(expr), restart) 12: withOneRestart(expr, restarts[[1L]]) 13: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 14: test_code(code, parent.frame()) 15: test_that("my_function returns the correct prediction and tree structure", { data(airquality) set.seed(217) ozone.rlf <- RLForest(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) print(ozone.rlf) (predict(ozone.rlf, airquality)) }) An irrecoverable exception occurred. R is aborting now ... Segmentation fault * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘RLF_vignette.Rmd’ using rmarkdown *** caught segfault *** address 0x7f45533e2ce6, cause 'invalid permissions' Traceback: 1: RLForest.default(m, y, ...) 2: RLForest.formula(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) 3: RLForest(Ozone ~ ., data = airquality, na.action = na.omit, ntreesub = 1, replace = FALSE, Lp = 0.8) 4: eval(expr, envir) 5: eval(expr, envir) 6: withVisible(eval(expr, envir)) 7: withCallingHandlers(code, message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 8: eval(call) 9: eval(call) 10: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 11: doWithOneRestart(return(expr), restart) 12: withOneRestart(expr, restarts[[1L]]) 13: withRestartList(expr, restarts[-nr]) 14: doWithOneRestart(return(expr), restart) 15: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 16: withRestartList(expr, restarts) 17: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 18: evaluate::evaluate(...) 19: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 20: in_dir(input_dir(), expr) 21: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 22: eng_r(options) 23: block_exec(params) 24: call_block(x) 25: process_group(group) 26: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }) 27: xfun:::handle_error(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 28: process_file(text, output) 29: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 30: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 31: vweave_rmarkdown(...) 32: engine$weave(file, quiet = quiet, encoding = enc) 33: doTryCatch(return(expr), name, parentenv, handler) 34: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 35: tryCatchList(expr, classes, parentenv, handlers) 36: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) } outputs <- c(outputs, output)}, error = function(e) { thisOK <<- FALSE fails <<- c(fails, file) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 37: tools::buildVignettes(dir = "/srv/hornik/tmp/CRAN_pretest/RiemannLebesgueForest.Rcheck/vign_test/RiemannLebesgueForest", skip = TRUE, ser_elibs = "/tmp/RtmpUMPvGA/file1046f258c3ab65.rds") An irrecoverable exception occurred. R is aborting now ... Segmentation fault * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 ERRORs, 2 NOTEs