Running ‘testthat.R’ [220s/276s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressPackageStartupMessages(library(testthat))
  > suppressPackageStartupMessages(library(pulsar))
  > 
  > testthat::test_check("pulsar")
  
   *** caught segfault ***
  address d, cause 'memory not mapped'
  
  Traceback:
   1: gc()
   2: pfun(dat$data, fun = fun, fargs = hargs, rep.num = 3, ...)
   3: eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   4: withCallingHandlers(code, warning = function(condition) {    out$push(condition)    maybe_restart("muffleWarning")})
   5: .capture(act$val <- eval_bare(quo_get_expr(.quo), quo_get_env(.quo)),     ...)
   6: quasi_capture(enquo(object), label, capture_warnings)
   7: expect_warning(out <- pfun(dat$data, fun = fun, fargs = hargs,     rep.num = 3, ...), "lambda path")
   8: eval(code, test_env)
   9: eval(code, test_env)
  10: 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)
  11: doTryCatch(return(expr), name, parentenv, handler)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  14: doTryCatch(return(expr), name, parentenv, handler)
  15: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  16: tryCatchList(expr, classes, parentenv, handlers)
  17: 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) {    })
  18: test_code(desc, code, env = parent.frame(), reporter = reporter)
  19: test_that("weird lambda path results in correct error or warning",     {        lams <- seq(0.5, 0.7, length.out = 5)        hargs <- c(fargs, list(lambda = lams))        expect_warning(out <- pfun(dat$data, fun = fun, fargs = hargs,             rep.num = 3, ...), "lambda path")        expect_warning(out <- pfun(dat$data, fun = fun, fargs = c(list(lambda = lams[1]),             fargs), rep.num = 3, ...), "1 value")        expect_error(out <- pfun(dat$data, fun = fun, fargs = c(list(lams = lams),             fargs), rep.num = 3, ...), "missing")        expect_warning(out <- pfun(dat$data, fun = fun, fargs = c(list(lambda = lams[c(5,             4)]), fargs), rep.num = 3, ...), "supplied values")    })
  20: runtests(pulsar, "pulsar", dat, fun = quicr, fargs = list(seed = rseed),     seed = rseed, refit = FALSE)
  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(NULL, exprs, env)
  32: source_file(path, child_env(env), wrap = wrap)
  33: FUN(X[[i]], ...)
  34: lapply(test_paths, test_one_file, env = env, 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(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  40: test_files(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package)
  41: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package, parallel = parallel)
  42: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  43: testthat::test_check("pulsar")
  An irrecoverable exception occurred. R is aborting now ...