Running ‘testthat.R’ [7s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ClusterR)
  Loading required package: gtools
  > 
  > test_check("ClusterR")
  Error: C stack usage  202211556 is too close to the limit
  Warning: stack imbalance in '$', 175 then 177
  Warning: stack imbalance in '{', 172 then 174
  Warning: stack imbalance in 'lapply', 154 then 156
  Warning: stack imbalance in '{', 147 then 149
  Warning: stack imbalance in '{', 139 then 141
  Error in lapply(objects, function(x) x[[method]](...)) : 
    R_Reprotect: only 154 protected items, can't reprotect index 264
  Calls: test_check ... o_apply -> lapply -> FUN -> <Anonymous> -> <Anonymous>
  Warning: stack imbalance in 'invisible', 100 then 51
  Warning: stack imbalance in '{', 97 then 78
  Warning: stack imbalance in '-', 76 then 73
  
   *** caught segfault ***
  address da80617, cause 'memory not mapped'
  Warning: stack imbalance in 'rep', 73 then 71
  Warning: stack imbalance in '<-', 65 then 64
  Warning: stack imbalance in '$', 79 then 80
  testthat results paste0(rep("=", getOption("width") - 16), collapse = "")
  Warning: stack imbalance in '{', 86 then 87
  Warning: stack imbalance in '{', 76 then 78
  Warning: stack imbalance in '{', 68 then 70
  
  Traceback:
   1: paste0(rep("=", getOption("width") - 16), collapse = "")OK: 92 SKIPPED: 0 FAILED: 0
  Warning: stack imbalance in '{', 76 then 75
  Warning: stack imbalance in '{', 70 then 67
  
   2: Execution halted
  reporter$end_reporter()
   3: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
   4: test_files(paths, reporter = reporter, env = env, ...)
   5: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
   6: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
   7: run_tests(package, test_path, filter, reporter, ...)
   8: test_check("ClusterR")
  An irrecoverable exception occurred. R is aborting now ...
  Warning: stack imbalance in 'lazyLoadDBfetch', 20 then 19