Running ‘test-all.R’ [3s/10s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library("taxize")
  > test_check("taxize")
  
   *** caught segfault ***
  address (nil), cause 'unknown'
  
  Traceback:
   1: curl::curl_fetch_memory(url, handle = handle)
   2: request_fetch.write_memory(req$output, req$url, handle)
   3: request_fetch(req$output, req$url, handle)
   4: request_perform(req, hu$handle$handle)
   5: httr::POST(url, path = paste(otl_v, path, sep = "/"), body = body_json,     ...)
   6: otl_POST("tnrs/contexts", body = list(), ...)
   7: .tnrs_contexts(...)
   8: tnrs_contexts(...)
   9: unlist(tnrs_contexts(...))
  10: context_name %in% unlist(tnrs_contexts(...))
  11: rotl::tnrs_match_names(names = names, context_name = context_name,     do_approximate_matching = do_approximate_matching, ids = ids,     include_suppressed = include_suppressed, ...)
  12: tol_resolve(context_name = "stuff")
  13: eval_bare(get_expr(quo), get_env(quo))
  14: doTryCatch(return(expr), name, parentenv, handler)
  15: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  16: tryCatchList(expr, classes, parentenv, handlers)
  17: tryCatch({    code    NULL}, error = function(e) e)
  18: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  19: quasi_capture(enquo(object), capture_error, label = label)
  20: expect_error(tol_resolve(context_name = "stuff"), "is not valid")
  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(desc, code, env = parent.frame())
  32: test_that("fails well", {    expect_error(tol_resolve(), "You must supply")    expect_error(tol_resolve(ids = 5), "You must supply a")    expect_error(tol_resolve(context_name = "stuff"), "is not valid")    expect_error(tol_resolve(names = 5), "must be of class")})
  33: eval(code, test_env)
  34: eval(code, test_env)
  35: 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)
  36: doTryCatch(return(expr), name, parentenv, handler)
  37: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  38: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  39: doTryCatch(return(expr), name, parentenv, handler)
  40: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  41: tryCatchList(expr, classes, parentenv, handlers)
  42: 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) {    })
  43: test_code(NULL, exprs, env)
  44: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  45: force(code)
  46: 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()    })
  47: FUN(X[[i]], ...)
  48: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  49: force(code)
  50: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  51: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  52: 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)
  53: 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)
  54: test_check("taxize")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault