Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(politeness)
  politeness v0.6.0 successfully loaded. See ?politeness for help.
  > 
  > test_check("politeness")
  
   *** caught segfault ***
  address 0xfffffffffffffff7, cause 'memory not mapped'
  
  Traceback:
   1: setTbbThreadOptions(numThreads, stackSize)
   2: RcppParallel::setThreadOptions(value)
   3: set_option_value(key, args[[key]])
   4: quanteda::quanteda_options(threads = num_mc_cores)
   5: dictWrap(text, dict = polite_dicts, num_mc_cores = num_mc_cores)
   6: getTokenSets(text = text, parser = parser[1], num_mc_cores = num_mc_cores)
   7: politeness(phone_offers$message, parser = "none", drop_blank = FALSE,     num_mc_cores = 1)
   8: eval(code, test_env)
   9: eval(code, test_env)
  10: 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)
  11: doTryCatch(return(expr), name, parentenv, handler)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  14: doTryCatch(return(expr), name, parentenv, handler)
  15: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  16: tryCatchList(expr, classes, parentenv, handlers)
  17: 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) {    })
  18: test_code(NULL, exprs, env)
  19: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  20: force(code)
  21: doWithOneRestart(return(expr), restart)
  22: withOneRestart(expr, restarts[[1L]])
  23: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  24: 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()    })
  25: FUN(X[[i]], ...)
  26: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, 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 = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  32: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  33: 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)
  34: 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)
  35: test_check("politeness")
  An irrecoverable exception occurred. R is aborting now ...