Running ‘testthat.R’ [14s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(glmmsel)
  > 
  > test_check("glmmsel")
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 1
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 5
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 5
  Saving _problems/test_binomial-307.R
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 103 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_binomial.R:306:3'): cross-validation works correctly ───────────
  Error in `solve.default(-val)`: Lapack routine dgesv: system is exactly singular: U[3,3] = 0
  Backtrace:
      ▆
   1. └─MASS::glmmPQL(...) at test_binomial.R:306:3
   2.   ├─base::eval(mcall)
   3.   │ └─base::eval(mcall)
   4.   ├─nlme::lme(...)
   5.   └─nlme::lme.formula(...)
   6.     └─nlme:::lmeApVar(...)
   7.       ├─base::solve(-val)
   8.       └─base::solve.default(-val)
  
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 103 ]
  Error:
  ! Test failures.
  Execution halted