Running ‘testthat.R’ [11s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(IBCF.MTME)
  > 
  > test_check("IBCF.MTME")
  ── 1. Error: getMatrixForm and getTidyForm functions (@test.R#11)  ─────────────
  'where' must be an environment
  Backtrace:
   1. IBCF.MTME::getTidyForm(M)
   2. tidyr::separate(data, "TraitxEnv", c("Trait", "Env"), sep = "_")
   3. ellipsis::check_dots_used()
   5. ellipsis:::exit_handler(action)
   6. base::bquote(...)
  
  ── 2. Error: IBCF Test - With RP for 3 Envs, 4 Traits (@test.R#62)  ────────────
  'where' must be an environment
  Backtrace:
   1. IBCF.MTME::IBCF(CrossV)
   2. IBCF.MTME::getTidyForm(DataSet_tst)
   3. tidyr::separate(data, "TraitxEnv", c("Trait", "Env"), sep = "_")
   4. ellipsis::check_dots_used()
   6. ellipsis:::exit_handler(action)
   7. base::bquote(...)
  
  ── 3. Error: IBCF Test - With RP for 3 Envs selecting 2 envs for traits (@test.R
  'where' must be an environment
  Backtrace:
   1. IBCF.MTME::IBCF(CrossV)
   2. IBCF.MTME::getTidyForm(DataSet_tst)
   3. tidyr::separate(data, "TraitxEnv", c("Trait", "Env"), sep = "_")
   4. ellipsis::check_dots_used()
   6. ellipsis:::exit_handler(action)
   7. base::bquote(...)
  
  ── 4. Error: IBCF Test - With RP for 3 Envs without Traits (@test.R#116)  ──────
  'where' must be an environment
  Backtrace:
   1. IBCF.MTME::IBCF(CrossV)
   2. IBCF.MTME::getTidyForm(DataSet_tst)
   3. tidyr::separate(data, "TraitxEnv", c("Trait", "Env"), sep = "_")
   4. ellipsis::check_dots_used()
   6. ellipsis:::exit_handler(action)
   7. base::bquote(...)
  
  ── 5. Error: IBCF Test - With RP for 4 Traits without Env (@test.R#141)  ───────
  'where' must be an environment
  Backtrace:
   1. IBCF.MTME::IBCF(CrossV)
   2. IBCF.MTME::getTidyForm(DataSet_tst)
   3. tidyr::separate(data, "TraitxEnv", c("Trait", "Env"), sep = "_")
   4. ellipsis::check_dots_used()
   6. ellipsis:::exit_handler(action)
   7. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 72 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: getMatrixForm and getTidyForm functions (@test.R#11) 
  2. Error: IBCF Test - With RP for 3 Envs, 4 Traits (@test.R#62) 
  3. Error: IBCF Test - With RP for 3 Envs selecting 2 envs for traits (@test.R#90) 
  4. Error: IBCF Test - With RP for 3 Envs without Traits (@test.R#116) 
  5. Error: IBCF Test - With RP for 4 Traits without Env (@test.R#141) 
  
  Error: testthat unit tests failed
  Execution halted