Running ‘testthat.R’ [3s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(processx)
  > 
  > test_check("processx")
  
   *** caught segfault ***
  address 80a1de8, cause 'invalid permissions'
  
  Traceback:
   1: gsub("Error.*?: ", "", as.character(error))
   2: as.expectation.skip(e, srcref = srcref)
   3: as.expectation(e, srcref = srcref)
   4: register_expectation(e, frame + 11, sys.nframe() - 2)
   5: (function (e) {    register_expectation(e, frame + 11, sys.nframe() - 2)    signalCondition(e)})(list(message = "only run it on windows"))
   6: stop(cond)
   7: skip(paste("only run it on", platform))
   8: skip_other_platforms("windows")
   9: eval(code, test_env)
  10: eval(code, test_env)
  11: withCallingHandlers(eval(code, test_env), expectation = handle_expectation,     skip = handle_skip, warning = handle_warning, message = handle_message,     error = handle_error)
  12: doTryCatch(return(expr), name, parentenv, handler)
  13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  14: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  15: doTryCatch(return(expr), name, parentenv, handler)
  16: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  17: tryCatchList(expr, classes, parentenv, handlers)
  18: tryCatch(withCallingHandlers(eval(code, test_env), expectation = handle_expectation,     skip = handle_skip, warning = handle_warning, message = handle_message,     error = handle_error), error = function(e) {}, skip = function(e) {})
  19: test_code(desc, code, env = parent.frame())
  20: test_that("can read after process was finalized, windows", {    skip_other_platforms("windows")    p <- process$new(commandline = "dir /b /A", stdout = "|")    con <- p$get_output_connection()    p$wait()    rm(p)    gc()    out <- character()    while (isIncomplete(con)) out <- c(out, readLines(con))    expect_equal(sort(out), sort(dir()))})
  21: eval(exprs, env)
  22: eval(exprs, env)
  23: source_file(path, new.env(parent = env), chdir = TRUE)
  24: force(code)
  25: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE)        end_context()    })
  26: FUN(X[[i]], ...)
  27: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
  28: force(code)
  29: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  30: test_files(paths, reporter = reporter, env = env, ...)
  31: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
  32: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
  33: run_tests(package, test_path, filter, reporter, ...)
  34: test_check("processx")
  An irrecoverable exception occurred. R is aborting now ...