Running ‘testthat.R’ [4s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(magickGUI)
  Loading required package: magick
  Linking to ImageMagick 6.9.10.91
  Enabled features: fontconfig, freetype, fftw, pango, webp, x11
  Disabled features: cairo, ghostscript, lcms, rsvg
  > 
  > 
  > get_minimum_version <- function()
  + {
  +   "6.9.5.4" # minimum version is written in R/misc.R file, too. Rewrite R/misc.R file if minimum version is changed.
  + }
  > 
  > version_ImageMagick <- magick_config()$version
  > 
  > if (version_ImageMagick >= get_minimum_version())
  + {
  +   test_check("magickGUI")
  + }
  
   *** caught segfault ***
  address 2c, cause 'memory not mapped'
  
  Traceback:
   1: magick_image_blur(image, radius, sigma)
   2: image_blur(img, iniv[1], iniv[2])
   3: eval(code, test_env)
   4: eval(code, test_env)
   5: 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)
   6: doTryCatch(return(expr), name, parentenv, handler)
   7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   9: doTryCatch(return(expr), name, parentenv, handler)
  10: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: 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) {    })
  13: test_code(desc, code, env = parent.frame())
  14: test_that("interactive_blur", {    iniv <- c(0, 0)    names(iniv) <- c("radius", "sigma")    expected <- image_blur(img, iniv[1], iniv[2])    expect_equal(expected, interactive_blur(img))    expect_equal(iniv, interactive_blur(img, return_param = TRUE))})
  15: eval(code, test_env)
  16: eval(code, test_env)
  17: 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)
  18: doTryCatch(return(expr), name, parentenv, handler)
  19: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  20: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  21: doTryCatch(return(expr), name, parentenv, handler)
  22: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  23: tryCatchList(expr, classes, parentenv, handlers)
  24: 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) {    })
  25: test_code(NULL, exprs, env)
  26: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  27: force(code)
  28: doWithOneRestart(return(expr), restart)
  29: withOneRestart(expr, restarts[[1L]])
  30: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  31: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        reporter$start_file(basename(path))        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        reporter$.end_context()        reporter$end_file()    })
  32: FUN(X[[i]], ...)
  33: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  34: force(code)
  35: doWithOneRestart(return(expr), restart)
  36: withOneRestart(expr, restarts[[1L]])
  37: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  38: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  39: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  40: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  41: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  42: test_check("magickGUI")
  An irrecoverable exception occurred. R is aborting now ...