Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > 
  > library(testthat)
  > library(rcpptimer)
  > 
  > test_check("rcpptimer")
  
   *** caught segfault ***
  address (nil), cause 'memory not mapped'
  
  Traceback:
   1: gsub("^expectation_", "", class(exp)[[1]])
   2: expectation_type(exp)
   3: expectation_failure(exp)
   4: expectation_broken(result)
   5: x$add_result(...)
   6: FUN(X[[i]], ...)
   7: lapply(objects, f)
   8: o_apply(self$reporters, "add_result", context = context, test = test,     result = result)
   9: reporter$add_result(context = reporter$.context, test = test,     result = e)
  10: register_expectation(e, 0)
  11: value[[3L]](cond)
  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(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
  19: source_file(path, env = env(env), desc = desc, error_call = error_call)
  20: FUN(X[[i]], ...)
  21: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)
  22: doTryCatch(return(expr), name, parentenv, handler)
  23: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  24: tryCatchList(expr, classes, parentenv, handlers)
  25: tryCatch(code, testthat_abort_reporter = function(cnd) {    cat(conditionMessage(cnd), "\n")    NULL})
  26: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, desc = desc, error_call = error_call))
  27: 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)
  28: 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)
  29: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  30: test_check("rcpptimer")
  An irrecoverable exception occurred. R is aborting now ...
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  Segmentation fault