Running ‘testthat.R’ [203s/254s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressPackageStartupMessages(library(testthat))
  > suppressPackageStartupMessages(library(pulsar))
  > 
  > testthat::test_check("pulsar")
  
   *** caught segfault ***
  address c, 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())
  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, new.env(parent = env), chdir = TRUE, 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 = 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()    })
  38: FUN(X[[i]], ...)
  39: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  40: force(code)
  41: doWithOneRestart(return(expr), restart)
  42: withOneRestart(expr, restarts[[1L]])
  43: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  44: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  45: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  46: 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)
  47: 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)
  48: testthat::test_check("pulsar")
  An irrecoverable exception occurred. R is aborting now ...