Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gert)
  Linking to libgit2 v0.27.8, ssh support: YES, https support: YES
  No default user configured
  > 
  > test_check("gert")
  
   *** caught segfault ***
  address 0x19100010009, cause 'memory not mapped'
  
  Traceback:
   1: git_clone("https://testingjerry@github.com/ropensci/testprivate",     path = target2, password = rawToChar(dec))
   2: eval(code, test_env)
   3: eval(code, test_env)
   4: 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)
   5: doTryCatch(return(expr), name, parentenv, handler)
   6: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   8: doTryCatch(return(expr), name, parentenv, handler)
   9: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  10: tryCatchList(expr, classes, parentenv, handlers)
  11: 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) {    })
  12: test_code(desc, code, env = parent.frame())
  13: test_that("HTTP user/pass auth", {    skip_if_offline()    Sys.unsetenv("GITHUB_PAT")    enc <- readBin("pat.bin", raw(), 1000)    dec <- openssl::rsa_decrypt(enc, "key.pem", password = "testingjerry")    target2 <- file.path(tempdir(), "testprivate2")    repo <- git_clone("https://testingjerry@github.com/ropensci/testprivate",         path = target2, password = rawToChar(dec))    expect_true(file.exists(file.path(target2, "hello")))    target3 <- file.path(tempdir(), "testprivate3")    repo <- git_clone(sprintf("https://testingjerry:%s@github.com/ropensci/testprivate",         rawToChar(dec)), path = target3)    expect_true(file.exists(file.path(target3, "hello")))    expect_error(git_clone("https://nobody@github.com/ropensci/testprivate",         password = "bla", path = tempfile()))    Sys.setenv(GITHUB_PAT = rawToChar(dec))    on.exit(Sys.unsetenv("GITHUB_PAT"))    target4 <- file.path(tempdir(), "testprivate4")    repo <- git_clone("https://github.com/ropensci/testprivate",         path = target4)    expect_true(file.exists(file.path(target4, "hello")))    target5 <- file.path(tempdir(), "testprivate5")    repo <- git_clone("https://nobody@github.com/ropensci/testprivate",         path = target5)    expect_true(file.exists(file.path(target5, "hello")))})
  14: eval(code, test_env)
  15: eval(code, test_env)
  16: 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)
  17: doTryCatch(return(expr), name, parentenv, handler)
  18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  19: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  20: doTryCatch(return(expr), name, parentenv, handler)
  21: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  22: tryCatchList(expr, classes, parentenv, handlers)
  23: 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) {    })
  24: test_code(NULL, exprs, env)
  25: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  26: force(code)
  27: doWithOneRestart(return(expr), restart)
  28: withOneRestart(expr, restarts[[1L]])
  29: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  30: 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()    })
  31: FUN(X[[i]], ...)
  32: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  33: force(code)
  34: doWithOneRestart(return(expr), restart)
  35: withOneRestart(expr, restarts[[1L]])
  36: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  37: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  38: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  39: 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)
  40: 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)
  41: test_check("gert")
  An irrecoverable exception occurred. R is aborting now ...