Running ‘spelling.R’
  Running ‘testthat.R’ [4s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fs)
  > 
  > test_check("fs")
  
   *** caught segfault ***
  address 52, cause 'memory not mapped'
  
  Traceback:
   1: quasi_label(enquo(object), label, arg = "object")
   2: expect_equal(file_access("foo", "exists"), c(foo = TRUE))
   3: eval(code, test_env)
   4: eval(code, test_env)
   5: 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)
   6: doTryCatch(return(expr), name, parentenv, handler)
   7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   9: doTryCatch(return(expr), name, parentenv, handler)
  10: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: 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) {    })
  13: test_code(test_description, substitute(it_code), env = describe_environment,     skip_on_empty = FALSE)
  14: it("checks for file existence", {    expect_equal(file_access("foo", "exists"), c(foo = TRUE))})
  15: force(code)
  16: with_dir_tree(list(`foo/bar` = "test"), {    it("errors on missing input", {        expect_error(file_access(NA), class = "invalid_argument")    })    it("checks for file existence", {        expect_equal(file_access("foo", "exists"), c(foo = TRUE))    })    it("checks for file read and write ability", {        skip_on_os(c("windows", "solaris"))        file_chmod("foo/bar", "-rw")        expect_equal(file_access("foo/bar", "read"), c(`foo/bar` = FALSE))        expect_equal(file_access("foo/bar", "write"), c(`foo/bar` = FALSE))        file_chmod("foo/bar", "+rw")        expect_equal(file_access("foo/bar", "read"), c(`foo/bar` = TRUE))        expect_equal(file_access("foo/bar", "write"), c(`foo/bar` = TRUE))    })    it("checks for file execute ability", {        skip_on_os(c("windows", "solaris"))        file_chmod("foo/bar", "-x")        expect_equal(file_access("foo/bar", "execute"), c(`foo/bar` = FALSE))        file_chmod("foo/bar", "+x")        expect_equal(file_access("foo/bar", "execute"), c(`foo/bar` = TRUE))    })})
  17: eval(substitute(code), describe_environment)
  18: eval(substitute(code), describe_environment)
  19: describe("file_access", {    with_dir_tree(list(`foo/bar` = "test"), {        it("errors on missing input", {            expect_error(file_access(NA), class = "invalid_argument")        })        it("checks for file existence", {            expect_equal(file_access("foo", "exists"), c(foo = TRUE))        })        it("checks for file read and write ability", {            skip_on_os(c("windows", "solaris"))            file_chmod("foo/bar", "-rw")            expect_equal(file_access("foo/bar", "read"), c(`foo/bar` = FALSE))            expect_equal(file_access("foo/bar", "write"), c(`foo/bar` = FALSE))            file_chmod("foo/bar", "+rw")            expect_equal(file_access("foo/bar", "read"), c(`foo/bar` = TRUE))            expect_equal(file_access("foo/bar", "write"), c(`foo/bar` = TRUE))        })        it("checks for file execute ability", {            skip_on_os(c("windows", "solaris"))            file_chmod("foo/bar", "-x")            expect_equal(file_access("foo/bar", "execute"), c(`foo/bar` = FALSE))            file_chmod("foo/bar", "+x")            expect_equal(file_access("foo/bar", "execute"), c(`foo/bar` = TRUE))        })    })})
  20: eval(code, test_env)
  21: eval(code, test_env)
  22: 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)
  23: doTryCatch(return(expr), name, parentenv, handler)
  24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  25: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  26: doTryCatch(return(expr), name, parentenv, handler)
  27: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  28: tryCatchList(expr, classes, parentenv, handlers)
  29: 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) {    })
  30: test_code(NULL, exprs, env)
  31: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  32: force(code)
  33: doWithOneRestart(return(expr), restart)
  34: withOneRestart(expr, restarts[[1L]])
  35: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  36: 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()    })
  37: FUN(X[[i]], ...)
  38: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  39: force(code)
  40: doWithOneRestart(return(expr), restart)
  41: withOneRestart(expr, restarts[[1L]])
  42: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  43: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  44: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  45: 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)
  46: 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)
  47: test_check("fs")
  An irrecoverable exception occurred. R is aborting now ...