Running ‘testthat.R’ [9s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(airr)
  > 
  > test_check("airr")
  
   *** caught segfault ***
  address 0x56342011bea8, cause 'invalid permissions'
  
  Traceback:
   1: self$current_expectations$push(result)
   2: x$add_result(...)
   3: FUN(X[[i]], ...)
   4: lapply(objects, f)
   5: o_apply(self$reporters, "add_result", context = context, test = test,     result = result)
   6: reporter$add_result(context = reporter$.context, test = test,     result = e)
   7: register_expectation(e, 6)
   8: (function (e) {    handled <<- TRUE    register_expectation(e, 6)    invokeRestart("continue_test")})(list(message = "all(reload_tbl[[\"rev_comp\"]] == \"T\") is not TRUE\n\n",     srcref = NULL, trace = NULL))
   9: signalCondition(exp)
  10: doWithOneRestart(return(expr), restart)
  11: withOneRestart(expr, restarts[[1L]])
  12: withRestarts(if (expectation_broken(exp)) {    stop(exp)} else {    signalCondition(exp)}, continue_test = function(e) NULL)
  13: exp_signal(exp)
  14: expect(identical(act$val, constant), sprintf("%s is not %s\n\n%s",     act$lab, deparse(constant), paste0(comp, collapse = "\n\n")),     info = info, trace_env = caller_env())
  15: expect_waldo_constant(act, TRUE, info = info)
  16: expect_true(all(reload_tbl[["rev_comp"]] == "T"))
  17: eval(code, test_env)
  18: eval(code, test_env)
  19: 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)
  20: doTryCatch(return(expr), name, parentenv, handler)
  21: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  22: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  23: doTryCatch(return(expr), name, parentenv, handler)
  24: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  25: tryCatchList(expr, classes, parentenv, handlers)
  26: 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) {    })
  27: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter())
  28: test_that("write_tabular writes a file with logicals encoded T/F",     {        tbl <- read_tabular(good_rearrangement_file, schema = RearrangementSchema)        out_file <- file.path(tempdir(), "test_out.tsv")        write_tabular(tbl, out_file, schema = RearrangementSchema)        expect_true(file.exists(out_file))        reload_tbl <- read.delim(out_file, colClasses = "character")        expect_true(all(reload_tbl[["rev_comp"]] == "T"))        expect_equal(reload_tbl[["productive"]], c("T", "T",             "F", "T", "T", "F", "F", "F", "T"))    })
  29: eval(code, test_env)
  30: eval(code, test_env)
  31: 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)
  32: doTryCatch(return(expr), name, parentenv, handler)
  33: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  34: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  35: doTryCatch(return(expr), name, parentenv, handler)
  36: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  37: tryCatchList(expr, classes, parentenv, handlers)
  38: 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) {    })
  39: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
  40: source_file(path, env(env), wrap = wrap)
  41: FUN(X[[i]], ...)
  42: lapply(test_paths, test_one_file, env = env, wrap = wrap)
  43: doTryCatch(return(expr), name, parentenv, handler)
  44: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  45: tryCatchList(expr, classes, parentenv, handlers)
  46: tryCatch(code, testthat_abort_reporter = function(cnd) {    cat(conditionMessage(cnd), "\n")    NULL})
  47: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  48: 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,     wrap = wrap, load_package = load_package)
  49: 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,     wrap = wrap, load_package = load_package, parallel = parallel)
  50: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  51: test_check("airr")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault