Running 'testthat.R' [84s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rptR)
  > 
  > test_check("rptR")
  Bootstrap Progress:
  Bootstrap Progress:
  Permutation Progress for Population :
  Bootstrap Progress:
  Permutation Progress for Container:
  Bootstrap Progress:
  Permutation Progress for Population:
  Bootstrap Progress:
  Permutation Progress for Population:
  Saving _problems/test-rptBinary-14.R
  Bootstrap Progress:
  Permutation Progress for Population :
  Bootstrap Progress:
  Permutation Progress for Container :
  Permutation Progress for Population :
  Bootstrap Progress:
  Permutation Progress for Container :
  Permutation Progress for Population :
  Bootstrap Progress:
  Permutation Progress for Container:
  Bootstrap Progress:
  Permutation Progress for Container:
  Permutation Progress for Population:
  Bootstrap Progress:
  Permutation Progress for Container:
  Bootstrap Progress:
  Permutation Progress for Container:
  Permutation Progress for Habitat:
  Bootstrap Progress:
  Permutation Progress for Population:
  Bootstrap Progress:
  Permutation Progress for Container:
  Permutation Progress for Population:
  Bootstrap Progress:
  Permutation Progress for Population :
  Bootstrap Progress:
  Permutation Progress for Container:
  Bootstrap Progress:
  Permutation Progress for Population:
  Bootstrap Progress:
  Permutation Progress for Population:
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 166 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rptBinary.R:14:1'): (code run outside of `test_that()`) ────────
  <Rcpp::exception/C++Error/error/condition>
  Error: Downdated VtV is not positive definite
  Backtrace:
       ▆
    1. └─rptR::rptBinary(...) at test-rptBinary.R:14:1
    2.   └─rptR (local) R_pe(formula, data, grname)
    3.     └─lme4::glmer(...)
    4.       └─lme4::optimizeGlmer(...)
    5.         └─lme4:::optwrap(...)
    6.           ├─base::withCallingHandlers(...)
    7.           ├─base::do.call(optfun, arglist)
    8.           └─lme4 (local) `<fn>`(...)
    9.             ├─nM$newf(fn(nM$xeval()))
   10.             │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
   11.             └─lme4 (local) fn(nM$xeval())
   12.               └─lme4 (local) pwrssUpdate(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 166 ]
  Error:
  ! Test failures.
  Execution halted