Running ‘test-all.R’
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("lawn")
  Loading required package: lawn
  
   *** caught segfault ***
  address 0x81, cause 'memory not mapped'
  
  Traceback:
   1: context_eval(join(src), private$context, serialize)
   2: get_str_output(context_eval(join(src), private$context, serialize))
   3: evaluate_js(src, serialize = serialize)
   4: ct$eval(sprintf("var alg = turf.along(%s, %s, '%s');", line,     distance, units))
   5: lawn_along(lawn_linestring(pts), 1, "stuff")
   6: eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7: withCallingHandlers({    code    NULL}, error = function(cnd) {    if (can_entrace(cnd)) {        cnd <- cnd_entrace(cnd)    }    return_from(env, cnd)})
   8: .capture(act$val <- eval_bare(quo_get_expr(.quo), quo_get_env(.quo)),     ...)
   9: quasi_capture(enquo(object), label, capture_error, entrace = TRUE)
  10: expect_error(lawn_along(lawn_linestring(pts), 1, "stuff"), "units is invalid")
  11: eval(code, test_env)
  12: eval(code, test_env)
  13: 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)
  14: doTryCatch(return(expr), name, parentenv, handler)
  15: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  16: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  17: doTryCatch(return(expr), name, parentenv, handler)
  18: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  19: tryCatchList(expr, classes, parentenv, handlers)
  20: 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) {    })
  21: test_code(desc, code, env = parent.frame())
  22: test_that("lawn_along fails correctly", {    expect_error(lawn_along(), "argument \"line\" is missing, with no default")    expect_error(lawn_along(lawn_linestring(pts), units = "miles"),         "argument \"distance\" is missing, with no default")    expect_error(lawn_along(lawn_linestring(pts), 1), "argument \"units\" is missing, with no default")    expect_error(lawn_along(lawn_linestring(pts), 1, "stuff"),         "units is invalid")    expect_error(lawn_along(lawn_linestring(pts), "asdfadf",         "miles"), "distance must be of class numeric, integer")    expect_error(lawn_along("adsf", "asdfadf", "miles"), "distance must be of class numeric, integer")    expect_error(lawn_along(5, 1, "miles"), "input must be a LineString Feature or Geometry")    expect_error(lawn_along(5, 1, "miles", lint = TRUE), "The root of a GeoJSON object must be an object")})
  23: eval(code, test_env)
  24: eval(code, test_env)
  25: 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)
  26: doTryCatch(return(expr), name, parentenv, handler)
  27: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  28: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  29: doTryCatch(return(expr), name, parentenv, handler)
  30: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  31: tryCatchList(expr, classes, parentenv, handlers)
  32: 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) {    })
  33: test_code(NULL, exprs, env)
  34: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  35: force(code)
  36: doWithOneRestart(return(expr), restart)
  37: withOneRestart(expr, restarts[[1L]])
  38: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  39: 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()    })
  40: FUN(X[[i]], ...)
  41: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  42: force(code)
  43: doWithOneRestart(return(expr), restart)
  44: withOneRestart(expr, restarts[[1L]])
  45: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  46: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  47: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  48: 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)
  49: 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)
  50: test_check("lawn")
  An irrecoverable exception occurred. R is aborting now ...