Running ‘testthat.R’ [266s/258s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(heemod)
  > 
  > ## the Sys.setenv fixes a problem running tests
  > ##   with parallel processing; related to
  > ##   https://github.com/hadley/testthat/issues/86 and
  > ##   https://github.com/hadley/testthat/issues/144
  > 
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("heemod")
      .model        from                 to prob
  1 standard RevisionTHR SuccessfulRevision <NA>
  2      new RevisionTHR SuccessfulRevision <NA>
  
   *** caught segfault ***
  address 48006089, cause 'memory not mapped'
  
  Traceback:
   1: is.na.data.frame(x)
   2: is.na(x)
   3: apply(is.na(x), 1, all)
   4: `[.data.frame`(x, !apply(is.na(x), 1, all), , drop = FALSE)
   5: x[!apply(is.na(x), 1, all), , drop = FALSE]
   6: filter_blanks(tab)
   7: heemod:::read_file(system.file("tabular/test", "testing_XLS_file_with_comment_col.xls",     package = "heemod"))
   8: eval(expr, envir, enclos)
   9: eval(exprs, env)
  10: source_file(path, new.env(parent = env), chdir = TRUE)
  11: force(code)
  12: 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()    })
  13: FUN(X[[i]], ...)
  14: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
  15: force(code)
  16: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  17: test_files(paths, reporter = reporter, env = env, ...)
  18: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
  19: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
  20: run_tests(package, test_path, filter, reporter, ...)
  21: test_check("heemod")
  An irrecoverable exception occurred. R is aborting now ...