Running ‘spelling.R’
  Running ‘testthat.R’ [3s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(strex)
  Loading required package: stringr
  > 
  > test_check("strex")
  
   *** caught segfault ***
  address 38, cause 'memory not mapped'
  
  Traceback:
   1: qassert(null.ok, "B1")
   2: checkChoice(x, choices, null.ok, fmatch)
   3: assertChoice(combine, c("or", "and"))
   4: checkmate::assert(checkmate::check_numeric(strings), checkmate::check_character(strings))
   5: str_alphord_nums(strings)
   6: eval_bare(get_expr(quo), get_env(quo))
   7: quasi_label(enquo(object), label)
   8: expect_equal(str_alphord_nums(strings), str_c("abc", c(paste0(0,     1:9), 10:12)))
   9: eval(code, test_env)
  10: eval(code, test_env)
  11: 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)
  12: doTryCatch(return(expr), name, parentenv, handler)
  13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  14: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  15: doTryCatch(return(expr), name, parentenv, handler)
  16: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  17: tryCatchList(expr, classes, parentenv, handlers)
  18: 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) {    })
  19: test_code(desc, code, env = parent.frame())
  20: test_that("str_alphord_nums works", {    strings <- paste0("abc", 1:12)    expect_equal(str_alphord_nums(strings), str_c("abc", c(paste0(0,         1:9), 10:12)))    expect_equal(str_alphord_nums(c("01abc9def55", "5abc10def777",         "99abc4def4")), c("01abc09def055", "05abc10def777", "99abc04def004"))    expect_equal(str_alphord_nums(c("abc9def55", "abc10def7")),         c("abc09def55", "abc10def07"))    expect_equal(str_alphord_nums(c("abc9def55", "abc10def777",         "abc4def4")), c("abc09def055", "abc10def777", "abc04def004"))    expect_error(str_alphord_nums(c("abc9def55", "abc9def5",         "abc10xyz7")), "The non-number bits of every string must be the same.")    expect_error(str_alphord_nums(c("abc9def55", "9abc10def7")),         "The `strings` must all have the same number of numbers.")    expect_error(str_alphord_nums(c("0abc9def55g", "abc10def7g0")),         "Either all strings or none should start with numbers.")    expect_error(str_alphord_nums("abc"), "Some of the input strings have no numbers in them.")    expect_equal(str_alphord_nums(1:10), c(paste0(0, 1:9), 10))})
  21: eval(code, test_env)
  22: eval(code, test_env)
  23: 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)
  24: doTryCatch(return(expr), name, parentenv, handler)
  25: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  26: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  27: doTryCatch(return(expr), name, parentenv, handler)
  28: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  29: tryCatchList(expr, classes, parentenv, handlers)
  30: 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) {    })
  31: test_code(NULL, exprs, env)
  32: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  33: force(code)
  34: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        end_context()    })
  35: FUN(X[[i]], ...)
  36: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  37: 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("strex")
  An irrecoverable exception occurred. R is aborting now ...