Running 'test-all.R' [24s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > if(require(testthat)) {
  + 
  +     test_check("simr")
  + }
  Loading required package: testthat
  Loading required package: simr
  Loading required package: lme4
  Loading required package: Matrix
  
  Attaching package: 'simr'
  
  The following object is masked from 'package:lme4':
  
      getData
  
  The following object is masked from 'package:testthat':
  
      compare
  
  boundary (singular) fit: see help('isSingular')
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_testLibrary.R:31:5'): tests run ────────────────────────────────
  Error in `glmer(formula = z ~ x + (1 | g), data = dd, family = poisson, 
      REML = FALSE, control = ctrl)`: unused argument (REML = FALSE)
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(doTest(fm3, rcompare(~(1 | g), "pb"))) at test_testLibrary.R:31:5
    2. │ └─base::withCallingHandlers(...)
    3. ├─simr::doTest(fm3, rcompare(~(1 | g), "pb"))
    4. └─simr:::doTest.default(fm3, rcompare(~(1 | g), "pb"))
    5.   └─simr (local) test(object)
    6.     └─simr (local) test(fit1, fit2)
    7.       ├─pbkrtest::PBmodcomp(model1, model2, nsim = getSimrOption("pbnsim"))
    8.       └─pbkrtest:::PBmodcomp.merMod(model1, model2, nsim = getSimrOption("pbnsim"))
    9.         ├─pbkrtest::PBrefdist(...)
   10.         └─pbkrtest:::PBrefdist.merMod(...)
   11.           └─pbkrtest:::do_sampling(largeModel, smallModel, nsim, cl, details)
   12.             ├─base::unlist(...)
   13.             └─parallel::mclapply(...)
   14.               └─base::lapply(X, FUN, ...)
   15.                 └─pbkrtest (local) FUN(X[[i]], ...)
   16.                   └─pbkrtest (local) get_fun(largeModel, smallModel, nsim = nsim.cl)
   17.                     ├─base::unname(...)
   18.                     ├─base::unlist(...)
   19.                     └─base::lapply(...)
   20.                       └─pbkrtest (local) FUN(X[[i]], ...)
   21.                         ├─base::suppressMessages(refit_safe(sm, yyy, ctrl))
   22.                         │ └─base::withCallingHandlers(...)
   23.                         └─pbkrtest (local) refit_safe(sm, yyy, ctrl)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
  Error: Test failures
  Execution halted