Running ‘testthat.R’ [33s/137s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ClusROC)
  Loading required package: nlme
  Loading required package: Rcpp
  > library(rgl)
  > 
  > options(rgl.useNULL = TRUE)
  > test_check("ClusROC")
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The orders of "levl_class" are not the same as 
   the orders of averages of tests values for each class
  The correct one should be:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  Warning message:
  Sepecified value(s) of covariate(s) are not used!
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  The ordered levels of classes are specified by the order of 
   averages of the test values for each class:
  1 < 2 < 3 
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 42 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-clus_lme.R:19:3'): clus_mle works with one covariate and subset ──
  Error in `MEEM(object, conLin, control$niterEM)`: Singularity in backsolve at level 0, block 1
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-clus_lme.R:19:3
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─ClusROC::clus_lme(...)
    5.   ├─nlme::lme(...)
    6.   └─nlme::lme.formula(...)
    7.     ├─nlme::Initialize(lmeSt, dataMix, grps, control = controlvals)
    8.     └─nlme:::Initialize.lmeStruct(lmeSt, dataMix, grps, control = controlvals)
    9.       └─base::lapply(object, Initialize, data, conLin, control)
   10.         ├─nlme (local) FUN(X[[i]], ...)
   11.         └─nlme:::Initialize.reStruct(X[[i]], ...)
   12.           └─nlme:::MEEM(object, conLin, control$niterEM)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 42 ]
  Error: Test failures
  Execution halted