Running ‘testthat.R’ [49s/81s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #    Copyright 2021 Province of British Columbia
  > #
  > #    Licensed under the Apache License, Version 2.0 (the "License");
  > #    you may not use this file except in compliance with the License.
  > #    You may obtain a copy of the License at
  > #
  > #       https://www.apache.org/licenses/LICENSE-2.0
  > #
  > #    Unless required by applicable law or agreed to in writing, software
  > #    distributed under the License is distributed on an "AS IS" BASIS,
  > #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  > #    See the License for the specific language governing permissions and
  > #    limitations under the License.
  > 
  > library(testthat)
  > library(ssdtools)
  Please replace the following in your scripts:
  - `ssdtools::boron_data` with `ssddata::ccme_boron`
  - `ssdtools::ccme_data` with `ssddata::ccme_data`
  > 
  > test_check("ssdtools")
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  
   *** caught segfault ***
  address 0x30, cause 'memory not mapped'
  
  Traceback:
   1: private$stack[seq_len(private$count)]
   2: self$current_expectations$as_list()
   3: x$end_test(...)
   4: FUN(X[[i]], ...)
   5: lapply(objects, f)
   6: o_apply(self$reporters, "end_test", context, test)
   7: reporter$end_test(context = reporter$.context, test = test)
   8: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter())
   9: test_that("ssd_hc fitdists not average", {    fits <- ssd_fit_dists(ssddata::ccme_boron)    hc <- ssd_hc(fits, average = FALSE)    expect_s3_class(hc, "tbl_df")    expect_snapshot_data(hc, "hc168")})
  10: eval(code, test_env)
  11: eval(code, test_env)
  12: 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)
  13: doTryCatch(return(expr), name, parentenv, handler)
  14: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  15: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  16: doTryCatch(return(expr), name, parentenv, handler)
  17: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  18: tryCatchList(expr, classes, parentenv, handlers)
  19: 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) {    })
  20: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
  21: source_file(path, env(env), wrap = wrap)
  22: FUN(X[[i]], ...)
  23: lapply(test_paths, test_one_file, env = env, wrap = wrap)
  24: doTryCatch(return(expr), name, parentenv, handler)
  25: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  26: tryCatchList(expr, classes, parentenv, handlers)
  27: tryCatch(code, testthat_abort_reporter = function(cnd) {    cat(conditionMessage(cnd), "\n")    NULL})
  28: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  29: test_files_serial(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)
  30: 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)
  31: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  32: test_check("ssdtools")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault