Running ‘testthat.R’ [8m/12m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(matrixTests)
  > 
  > test_check("matrixTests")
  ── 1. Error: monte-carlo random testing gives equal results (@test-correct-brown
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(X, groups)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 2. Error: extreme numbers give equal results (@test-correct-brownforsythe.R#7
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 3. Error: equal variance in all groups give equal results (@test-correct-brow
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 4. Error: minimal allowed sample size gives equal results (@test-correct-brow
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 5. Error: groups with one remaining member give equal results (@test-correct-
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 6. Error: constant values give equal results (@test-correct-brownforsythe.R#1
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 7. Error: cases when some groups are constant after residuals give equal resu
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_brownforsythe(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 8. Error: monte-carlo random testing gives equal results (@test-correct-leven
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(X, groups)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 9. Error: extreme numbers give equal results (@test-correct-levene.R#73)  ───
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 10. Error: equal variance in all groups give equal results (@test-correct-lev
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 11. Error: minimal allowed sample size gives equal results (@test-correct-lev
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 12. Error: groups with one remaining member give equal results (@test-correct
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 13. Error: constant values give equal results (@test-correct-levene.R#161)  ─
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 14. Error: cases when some groups are constant after residuals give equal res
  there is no package called 'car'
  Backtrace:
   1. matrixTests:::car_levene(x, g)
   2. car::leveneTest
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 2055 | SKIPPED: 0 | WARNINGS: 10 | FAILED: 14 ]
  1. Error: monte-carlo random testing gives equal results (@test-correct-brownforsythe.R#46) 
  2. Error: extreme numbers give equal results (@test-correct-brownforsythe.R#73) 
  3. Error: equal variance in all groups give equal results (@test-correct-brownforsythe.R#91) 
  4. Error: minimal allowed sample size gives equal results (@test-correct-brownforsythe.R#107) 
  5. Error: groups with one remaining member give equal results (@test-correct-brownforsythe.R#145) 
  6. Error: constant values give equal results (@test-correct-brownforsythe.R#161) 
  7. Error: cases when some groups are constant after residuals give equal results (@test-correct-brownforsythe.R#183) 
  8. Error: monte-carlo random testing gives equal results (@test-correct-levene.R#46) 
  9. Error: extreme numbers give equal results (@test-correct-levene.R#73) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted