Running ‘testthat.R’ [100s/123s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(REndo)
  > library(Formula)
  > 
  > test_check("REndo")
  Saving _problems/test-correctness_multilevel-253.R
  Saving _problems/test-inputchecks_multilevel-112.R
  Saving _problems/test-inputchecks_multilevel-113.R
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  [ FAIL 3 | WARN 0 | SKIP 30 | PASS 2152 ]
  
  ══ Skipped tests (30) ══════════════════════════════════════════════════════════
  • On CRAN (30): 'test-correctness_copulacorrections.R:14:3',
    'test-correctness_copulacorrections.R:90:3',
    'test-correctness_copulacorrections.R:204:3',
    'test-correctness_latentIV.R:10:3', 'test-correctness_multilevel.R:12:3',
    'test-correctness_multilevel.R:62:3', 'test-correctness_multilevel.R:120:3',
    'test-correctness_multilevel.R:151:3', 'test-correctness_multilevel.R:185:3',
    'test-correctness_multilevel.R:213:3', 'test-correctness_multilevel.R:228:3',
    'test-correctness_multilevel.R:293:3',
    'test-runability_copulacorrection.R:12:3',
    'test-runability_copulacorrection.R:30:3',
    'test-runability_copulacorrection.R:90:3',
    'test-runability_copulacorrection.R:184:3',
    'test-runability_copulacorrection.R:204:3',
    'test-runability_copulacorrection.R:219:3',
    'test-runability_copulacorrection.R:303:3',
    'test-runability_copulacorrection.R:316:3',
    'test-runability_multilevel.R:22:3', 'test-runability_multilevel.R:61:3',
    'test-runability_multilevel.R:75:3', 'test-runability_multilevel.R:93:3',
    'test-runability_multilevel.R:103:3', 'test-runability_multilevel.R:112:3',
    'test-runability_multilevel.R:124:3', 'test-runability_multilevel.R:136:3',
    'test-runability_multilevel.R:157:3',
    'test-s3methods_copualcorrection.R:46:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-correctness_multilevel.R:251:1'): (code run outside of `test_that()`) ──
  Expected `... <- NULL` to run silently.
  Actual noise: warnings.
  ── Failure ('test-inputchecks_multilevel.R:112:3'): Fail if no slope provided ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "error in evaluating the argument 'x' in selecting a method for function 'forceSymmetric': non-conformable matrix dimensions in .Arith.Csparse(e1, e2, .Generic, class. = \"dgCMatrix\")"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:112:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─REndo::multilevelIV(...)
    7. │ └─REndo:::multilevel_3levels(...)
    8. │   ├─... + Matrix::bdiag(l.L2.V.part)
    9. │   └─... + Matrix::bdiag(l.L2.V.part)
   10. │     ├─Matrix::forceSymmetric(callGeneric(.M2gen(e1), .M2gen(e2)))
   11. │     ├─methods::callGeneric(.M2gen(e1), .M2gen(e2))
   12. │     │ └─base::eval(call, parent.frame())
   13. │     │   └─base::eval(call, parent.frame())
   14. │     ├─.M2gen(e1) + .M2gen(e2)
   15. │     └─.M2gen(e1) + .M2gen(e2)
   16. │       └─Matrix:::.Arith.Csparse(e1, e2, .Generic, class. = "dgCMatrix")
   17. │         └─Matrix:::.Ops.checkDim(dim(e1), dim(e2))
   18. │           └─base::stop(...)
   19. └─base::.handleSimpleError(...)
   20.   └─base (local) h(simpleError(msg, call))
  ── Failure ('test-inputchecks_multilevel.R:113:3'): Fail if no slope provided ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "non-conformable matrix dimensions in .diag2T.smart(e1, e2, kind = \"d\") + e2"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:113:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   └─REndo:::multilevel_3levels(...)
    8.     ├─Matrix::Diagonal(sigma.sq, n = nrow(X)) + ...
    9.     └─Matrix::Diagonal(sigma.sq, n = nrow(X)) + ...
   10.       ├─methods::callGeneric(.diag2T.smart(e1, e2, kind = "d"), e2)
   11.       │ └─base::eval(call, parent.frame())
   12.       │   └─base::eval(call, parent.frame())
   13.       ├─.diag2T.smart(e1, e2, kind = "d") + e2
   14.       └─.diag2T.smart(e1, e2, kind = "d") + e2
   15.         └─Matrix:::.Ops.checkDim(dim(e1), dim(e2))
  
  [ FAIL 3 | WARN 0 | SKIP 30 | PASS 2152 ]
  Error:
  ! Test failures.
  Execution halted