Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggwordcloud)
  Loading required package: ggplot2
  > 
  > test_check("ggwordcloud")
  
   *** caught segfault ***
  address 0x1, cause 'memory not mapped'
  
  Traceback:
   1: wordcloud_boxes(data_points = points_valid_first, boxes = boxes,     boxes_text = boxes_text, text_boxes = text_boxes, bigboxes = bigboxes,     boxes_masks = boxes_masks, boxes_mask = boxes_mask, mask_boxes = mask_boxes,     mask_group = mask_group, angle_group = angle_group, max_angle_group = x$data$max_angle_group[1],     xlim = range(x$limits$x), ylim = range(x$limits$y), eccentricity = x$eccentricity,     rstep = x$rstep, tstep = x$tstep, perc_step = x$perc_step,     max_steps = x$max_steps, rm_outside = x$rm_outside, shape = x$shape)
   2: makeContent.textwordcloudtree(x)
   3: makeContent(x)
   4: drawGTree(x)
   5: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
   6: grid.draw.gTree(x$children[[i]], recording = FALSE)
   7: grid.draw(x$children[[i]], recording = FALSE)
   8: drawGTree(x)
   9: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  10: grid.draw.gTree(x$children[[i]], recording = FALSE)
  11: grid.draw(x$children[[i]], recording = FALSE)
  12: drawGTree(x)
  13: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  14: grid.draw.gTree(x$children[[i]], recording = FALSE)
  15: grid.draw(x$children[[i]], recording = FALSE)
  16: drawGTree(x)
  17: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  18: grid.draw.gTree(gtable)
  19: grid.draw(gtable)
  20: print.ggplot(ggplot(data = love_words_latin_small, aes(label = word)) +     geom_text_wordcloud())
  21: print(ggplot(data = love_words_latin_small, aes(label = word)) +     geom_text_wordcloud())
  22: eval_bare(expr, quo_get_env(quo))
  23: quasi_label(enquo(object), label, arg = "object")
  24: expect_is({    set.seed(42)    print(ggplot(data = love_words_latin_small, aes(label = word)) +         geom_text_wordcloud())}, "ggplot")
  25: eval(code, test_env)
  26: eval(code, test_env)
  27: 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)
  28: doTryCatch(return(expr), name, parentenv, handler)
  29: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  30: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  31: doTryCatch(return(expr), name, parentenv, handler)
  32: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  33: tryCatchList(expr, classes, parentenv, handlers)
  34: 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) {    })
  35: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter())
  36: test_that("geom_text_wordcloud does not crash", {    expect_is({        set.seed(42)        print(ggplot(data = love_words_latin_small, aes(label = word)) +             geom_text_wordcloud())    }, "ggplot")})
  37: eval(code, test_env)
  38: eval(code, test_env)
  39: 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)
  40: doTryCatch(return(expr), name, parentenv, handler)
  41: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  42: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  43: doTryCatch(return(expr), name, parentenv, handler)
  44: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  45: tryCatchList(expr, classes, parentenv, handlers)
  46: 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) {    })
  47: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
  48: source_file(path, env = env(env), desc = desc, error_call = error_call)
  49: FUN(X[[i]], ...)
  50: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)
  51: doTryCatch(return(expr), name, parentenv, handler)
  52: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  53: tryCatchList(expr, classes, parentenv, handlers)
  54: tryCatch(code, testthat_abort_reporter = function(cnd) {    cat(conditionMessage(cnd), "\n")    NULL})
  55: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, desc = desc, error_call = error_call))
  56: 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)
  57: 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)
  58: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  59: test_check("ggwordcloud")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault