Running ‘testthat.R’ [9s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(merTools)
  Loading required package: arm
  Loading required package: MASS
  Loading required package: Matrix
  Loading required package: lme4
  
  arm (Version 1.9-3, built: 2016-11-21)
  
  Working directory is /home/ripley/R/packages/tests32/merTools.Rcheck/tests
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:MASS':
  
      select
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("merTools")
  
   *** caught segfault ***
  address 8f4921c2, cause 'memory not mapped'
  
  Traceback:
   1: as.data.frame(fgq_rules[[ord]])
   2: GHrule(nAGQ)
   3: updateGlmerDevfun(devfun, glmod$reTrms, nAGQ = nAGQ)
   4: glmer(form, family = "poisson", data = grouseticks, control = glmerControl(optimizer = "Nelder_Mead",     optCtrl = list(maxfun = 1e+05)))
   5: eval(expr, envir, enclos)
   6: eval(exprs, env)
   7: source_file(path, new.env(parent = env), chdir = TRUE)
   8: force(code)
   9: 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()    })
  10: FUN(X[[i]], ...)
  11: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
  12: force(code)
  13: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  14: test_files(paths, reporter = reporter, env = env, ...)
  15: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
  16: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
  17: run_tests(package, test_path, filter, reporter, ...)
  18: test_check("merTools")
  An irrecoverable exception occurred. R is aborting now ...