Running ‘testthat.R’ [27s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(statgenGxE)
  > 
  > test_check("statgenGxE")
  ── Skip (test-gxeMegaEnv.R:70:3): predict.megaEnv functions correctly ──────────
  Reason: On CRAN
  
  ── Skip (test-gxeMegaEnv.R:101:3): option year in gxeTable functions properly fo
  Reason: On CRAN
  
  ── Skip (test-gxeVarComp.R:50:3): output is of the right class for asreml ──────
  Reason: On CRAN
  
  ── Skip (test-gxeVarComp.R:114:3): predict function functions correctly ────────
  Reason: On CRAN
  
  ── Skip (test-gxeVarComp.R:149:3): option predictLevel in predict function funct
  Reason: On CRAN
  
  ── Skip (test-gxeVarComp.R:185:3): vc function functions correctly ─────────────
  Reason: On CRAN
  
  ── Skip (test-gxeVarComp.R:213:3): herit function functions correctly ──────────
  Reason: On CRAN
  
  ── Skip (test-gxeVarCov.R:24:3): output is of the right class for asreml ───────
  Reason: On CRAN
  
  ── Skip (test-gxeVarCov.R:37:3): asreml model gives correct output ─────────────
  Reason: On CRAN
  
  ── Skip (test-gxeVarCov.R:78:3): option criterion works properly ───────────────
  Reason: On CRAN
  
  ── Skip (test-gxeVarCov.R:90:3): models for fa and fa2 are fitted when #trials >
  Reason: On CRAN
  
  ── 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
  ...
  
  ── Skip (test-report.R:7:3): Test that createReport function only accepts correc
  Reason: On CRAN
  
  ── Skip (test-report.R:21:3): FW report functions correctly ────────────────────
  Reason: On CRAN
  
  ── Skip (test-report.R:31:3): Stability report functions correctly ─────────────
  Reason: On CRAN
  
  ── Skip (test-report.R:41:3): varCov report functions correctly ────────────────
  Reason: On CRAN
  
  ── Skip (test-summaries.R:72:3): varComp summary produces correct output ───────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (16)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-plots.R:51:3): AMMI plot plotType options function properly
  FAILURE (test-plots.R:261:3): AMMI plot plotConvHull functions properly
  
  [ FAIL 2 | WARN 0 | SKIP 16 | PASS 441 ]
  Error: Test failures
  Execution halted