Running ‘test-all.R’ [50s/64s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > #library("lava")
  > suppressPackageStartupMessages(library("testthat"))
  > test_check("lava")
  Loading required package: lava
  
  Attaching package: 'lava'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  Saving _problems/test-complik-11.R
  [ FAIL 1 | WARN 3 | SKIP 23 | PASS 936 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • On CRAN (23): 'test-binomial-rrw.R:130:5', 'test-binomial-rrw.R:152:5',
    'test-chisqsum.R:14:5', 'test-chisqsum.R:25:5', 'test-chisqsum.R:34:5',
    'test-chisqsum.R:48:5', 'test-chisqsum.R:59:5', 'test-chisqsum.R:75:5',
    'test-graphics.R:26:3', 'test-graphics.R:64:3', 'test-graphics.R:79:3',
    'test-graphics.R:113:3', 'test-graphics.R:123:3', 'test-graphics.R:141:3',
    'test-graphics.R:164:3', 'test-graphics.R:179:3', 'test-graphics.R:186:3',
    'test-graphics.R:193:3', 'test-graphics.R:200:3', 'test-graphics.R:207:3',
    'test-graphics.R:214:3', 'test-graphics.R:221:3', 'test-wkm.R:107:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-complik.R:11:5'): complik ──────────────────────────────────────
  <Rcpp::exception/C++Error/error/condition>
  Error: Downdated VtV is not positive definite
  Backtrace:
       ▆
    1. └─lme4::glmer(y ~ x + (1 | id), family = binomial("probit"), data = dl) at test-complik.R:11:5
    2.   └─lme4::optimizeGlmer(...)
    3.     └─lme4:::optwrap(...)
    4.       ├─base::withCallingHandlers(...)
    5.       ├─base::do.call(optfun, arglist)
    6.       └─lme4 (local) `<fn>`(...)
    7.         ├─nM$newf(fn(nM$xeval()))
    8.         │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
    9.         └─lme4 (local) fn(nM$xeval())
   10.           └─lme4 (local) pwrssUpdate(...)
  
  [ FAIL 1 | WARN 3 | SKIP 23 | PASS 936 ]
  Deleting unused snapshots: 'graphics/curly-1.svg',
  'graphics/density-sim-1.svg', 'graphics/forestplot1.svg',
  'graphics/plot-estimate-1.svg', 'graphics/plot-sim-1.svg',
  'graphics/plotconf1.svg', 'graphics/plotconf2.svg', and
  'graphics/spaghetti-1.svg'
  Error:
  ! Test failures.
  Execution halted