Running ‘testthat.R’ [56s/73s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(statgenGxE)
  > 
  > test_check("statgenGxE")
  Saving _problems/test-gxeMegaEnv-69.R
  Saving _problems/test-gxeMegaEnv-71.R
  Saving _problems/test-gxeMegaEnv-97.R
  Saving _problems/test-gxeMegaEnv-99.R
  Saving _problems/test-plots-438.R
  Saving _problems/test-plots-441.R
  Saving _problems/test-plots-449.R
  [ FAIL 7 | WARN 3 | SKIP 13 | PASS 381 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-gxeMegaEnv.R:72:3', 'test-gxeMegaEnv.R:103:3',
    'test-report.R:7:3', 'test-report.R:21:3', 'test-report.R:31:3',
    'test-report.R:41:3'
  • {Matrix} is not installed. (7): 'test-gxeVarComp.R:14:1',
    'test-gxeVarCov.R:12:1', 'test-plots.R:412:3', 'test-plots.R:425:3',
    'test-plots.R:454:1', 'test-summaries.R:44:3', 'test-summaries.R:67:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-gxeMegaEnv.R:68:3'): predict.megaEnv functions correctly ─────
  Expected `geTabLm$predictedValue[1, ]` to be equivalent to `c(79.2407761061078, 79.4858110738655)`.
  Component 1: target is logical, current is numeric
  Component 2: target is logical, current is numeric
  ── Failure ('test-gxeMegaEnv.R:70:3'): predict.megaEnv functions correctly ─────
  Expected `geTabLm$standardError[1, ]` to be equivalent to `c(6.83087991095342, 6.38912904851271)`.
  Component 1: target is logical, current is numeric
  Component 2: target is logical, current is numeric
  ── Failure ('test-gxeMegaEnv.R:96:3'): option year in gxeTable functions properly ──
  Expected `megaEnvPred$predictedValue[1, ]` to be equivalent to `c(75.7340426279225, 72.8307799806527)`.
  Component 1: target is logical, current is numeric
  Component 2: target is logical, current is numeric
  ── Failure ('test-gxeMegaEnv.R:98:3'): option year in gxeTable functions properly ──
  Expected `megaEnvPred$standardError[1, ]` to be equivalent to `c(5.69948967193805, 7.83055991157765)`.
  Component 1: target is logical, current is numeric
  Component 2: target is logical, current is numeric
  ── Failure ('test-plots.R:438:3'): megaEnv plot gives correct output types ─────
  Expected `p[[1]]` to inherit from "character".
  Actual inheritance: "NULL"
  ── Failure ('test-plots.R:441:3'): megaEnv plot gives correct output types ─────
  Expected `nrow(layout[grepl(pattern = "pane", x = layout[["name"]]), ])` to equal 4.
  Differences:
  target is NULL, current is numeric
  ── Failure ('test-plots.R:449:3'): option colorGenoBy in megaEnv plot functions correctly ──
  Expected `gbRight$layout[["name"]]` to equal `c("guides", "legend.box.background")`.
  Differences:
  target is NULL, current is character
  
  [ FAIL 7 | WARN 3 | SKIP 13 | PASS 381 ]
  Error:
  ! Test failures.
  Execution halted