Running ‘testthat.R’ [20s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(statgenGxE)
  > 
  > test_check("statgenGxE")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (15)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gxeVarComp.R:69:3): option nestingFactor functions correctly ────
  Error: Dropping columns failed to produce full column rank design matrix
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-gxeVarComp.R:69:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─statgenGxE::gxeVarComp(...)
    7.   ├─lme4::lmer(formula(formTxt), data = TDTot, weights = TDTot[["wt"]])
    8.   │ └─base::eval(mc, parent.frame(1L))
    9.   │   └─base::eval(mc, parent.frame(1L))
   10.   └─lme4::lFormula(...)
   11.     └─lme4:::chkRank.drop.cols(X, kind = rankX.chk, tol = 1e-07)
  ── Error (test-gxeVarComp.R:207:3): herit function functions correctly ─────────
  Error: Dropping columns failed to produce full column rank design matrix
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-gxeVarComp.R:207:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─statgenGxE::gxeVarComp(...)
    7.   ├─lme4::lmer(formula(formTxt), data = TDTot, weights = TDTot[["wt"]])
    8.   │ └─base::eval(mc, parent.frame(1L))
    9.   │   └─base::eval(mc, parent.frame(1L))
   10.   └─lme4::lFormula(...)
   11.     └─lme4:::chkRank.drop.cols(X, kind = rankX.chk, tol = 1e-07)
  ── Failure (test-plots.R:51:3): AMMI plot plotType options function properly ───
  `p1a` not equal to `p1b`.
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "layers": Component 3: Component 11: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 12: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 16: Component 1: target is not list-like
  Component "scales": Component "scales": Component 2: Component 2: Component 5: Component 2: Component 18: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  ...
  ── Failure (test-plots.R:261:3): AMMI plot plotConvHull functions properly ─────
  `p0_1` not equal to plot(geAmmi, plotConvHull = TRUE).
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "layers": Component 3: Component 11: Component 1: target is not list-like
  Component "layers": Component 4: Component 11: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 12: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 16: Component 1: target is not list-like
  Component "scales": Component "scales": Component 2: Component 18: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  ...
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 437 ]
  Error: Test failures
  Execution halted