Running ‘testthat.R’ [7s/20s]
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  202015780 is too close to the limit
  Warning: stack imbalance in '$', 143 then 142
  Warning: stack imbalance in '{', 140 then 191
  Warning: stack imbalance in '$', 131 then 182
  Warning: stack imbalance in '[[', 215 then 216
  Error in lapply(objects, function(x) x[[method]](...)) : 
    R_Reprotect: only 202 protected items, can't reprotect index 193
  Calls: test_check ... <Anonymous> -> o_apply -> lapply -> FUN -> <Anonymous>
  Warning: stack imbalance in '<-', 107 then 106
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  Warning: stack imbalance in '<-', 100 then 91
  Warning: stack imbalance in '{', 97 then 88
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  
  Traceback:
   1: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE)        end_context()    })
   2: FUN(X[[i]], ...)
   3: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
   4: force(code)
   5: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  
  Traceback:
   1: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
   2: test_files(paths, reporter = reporter, env = env, ...)
   3: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
   4: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
   5: run_tests(package, test_path, filter, reporter, ...)
   6:  6: test_files(paths, reporter = reporter, env = env, ...)
   7: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
   8: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
   9: run_tests(package, test_path, filter, reporter, ...)
  10: test_check("ClusterR")
  An irrecoverable exception occurred. R is aborting now ...
  test_check("ClusterR")
  An irrecoverable exception occurred. R is aborting now ...