CRAN Package Check Results for Maintainer ‘Jean-Karim Heriche <heriche at embl.de>’

Last updated on 2024-12-18 19:49:38 CET.

Package ERROR NOTE OK
LOMAR 3 4 6

Package LOMAR

Current CRAN status: ERROR: 3, NOTE: 4, OK: 6

Additional issues

0len gcc-UBSAN

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/81s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > suppressPackageStartupMessages(library(LOMAR)) > > test_check("LOMAR") *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: `[.ff_array`(A, ) 2: A[] 3: circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) 4: eval(code, test_env) 5: eval(code, test_env) 6: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 7: doTryCatch(return(expr), name, parentenv, handler) 8: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 10: doTryCatch(return(expr), name, parentenv, handler) 11: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 12: tryCatchList(expr, classes, parentenv, handlers) 13: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 14: test_code(desc, code, env = parent.frame(), reporter = reporter) 15: test_that("Circle Hough transform works", { I <- points2img(points = as.data.frame(PS[[2]]), voxel.size = c(10, 10, 30), method = "histogram") img <- apply(I, c(1, 2), sum) df <- circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) expect_equal(df[, c("x", "y", "r")], data.frame(x = 16, y = 12, r = 5))}) 16: eval(code, test_env) 17: eval(code, test_env) 18: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 19: doTryCatch(return(expr), name, parentenv, handler) 20: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 22: doTryCatch(return(expr), name, parentenv, handler) 23: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 24: tryCatchList(expr, classes, parentenv, handlers) 25: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 26: test_code(test = NULL, code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 27: source_file(path, env = env(env), desc = desc, error_call = error_call) 28: FUN(X[[i]], ...) 29: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call) 30: doTryCatch(return(expr), name, parentenv, handler) 31: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 32: tryCatchList(expr, classes, parentenv, handlers) 33: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 34: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)) 35: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call) 36: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel) 37: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 38: test_check("LOMAR") An irrecoverable exception occurred. R is aborting now ... Segmentation fault Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/425s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > suppressPackageStartupMessages(library(LOMAR)) > > test_check("LOMAR") *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: `[.ff_array`(A, ) 2: A[] 3: circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) 4: eval(code, test_env) 5: eval(code, test_env) 6: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 7: doTryCatch(return(expr), name, parentenv, handler) 8: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 10: doTryCatch(return(expr), name, parentenv, handler) 11: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 12: tryCatchList(expr, classes, parentenv, handlers) 13: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 14: test_code(desc, code, env = parent.frame(), reporter = reporter) 15: test_that("Circle Hough transform works", { I <- points2img(points = as.data.frame(PS[[2]]), voxel.size = c(10, 10, 30), method = "histogram") img <- apply(I, c(1, 2), sum) df <- circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) expect_equal(df[, c("x", "y", "r")], data.frame(x = 16, y = 12, r = 5))}) 16: eval(code, test_env) 17: eval(code, test_env) 18: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 19: doTryCatch(return(expr), name, parentenv, handler) 20: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 22: doTryCatch(return(expr), name, parentenv, handler) 23: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 24: tryCatchList(expr, classes, parentenv, handlers) 25: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 26: test_code(test = NULL, code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 27: source_file(path, env = env(env), desc = desc, error_call = error_call) 28: FUN(X[[i]], ...) 29: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call) 30: doTryCatch(return(expr), name, parentenv, handler) 31: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 32: tryCatchList(expr, classes, parentenv, handlers) 33: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 34: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)) 35: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call) 36: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel) 37: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 38: test_check("LOMAR") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [0m/11m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > suppressPackageStartupMessages(library(LOMAR)) > > test_check("LOMAR") *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: `[.ff_array`(A, ) 2: A[] 3: circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) 4: eval(code, test_env) 5: eval(code, test_env) 6: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 7: doTryCatch(return(expr), name, parentenv, handler) 8: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 10: doTryCatch(return(expr), name, parentenv, handler) 11: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 12: tryCatchList(expr, classes, parentenv, handlers) 13: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 14: test_code(desc, code, env = parent.frame(), reporter = reporter) 15: test_that("Circle Hough transform works", { I <- points2img(points = as.data.frame(PS[[2]]), voxel.size = c(10, 10, 30), method = "histogram") img <- apply(I, c(1, 2), sum) df <- circle_hough_transform(img, rmin = 5, rmax = 5, threshold = 0.4) expect_equal(df[, c("x", "y", "r")], data.frame(x = 16, y = 12, r = 5))}) 16: eval(code, test_env) 17: eval(code, test_env) 18: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 19: doTryCatch(return(expr), name, parentenv, handler) 20: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 22: doTryCatch(return(expr), name, parentenv, handler) 23: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 24: tryCatchList(expr, classes, parentenv, handlers) 25: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 26: test_code(test = NULL, code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 27: source_file(path, env = env(env), desc = desc, error_call = error_call) 28: FUN(X[[i]], ...) 29: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call) 30: doTryCatch(return(expr), name, parentenv, handler) 31: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 32: tryCatchList(expr, classes, parentenv, handlers) 33: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 34: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)) 35: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call) 36: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel) 37: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 38: test_check("LOMAR") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.5.0
Check: installed package size
Result: NOTE installed size is 6.2Mb sub-directories of 1Mb or more: libs 5.0Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64