Running 'testthat.R' [20s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(matrixTests)
  > 
  > test_check("matrixTests")
  -- 1. Error: x and y can have 0 rows and 0 columns (@test-parameters-special-cas
  Argument 'dim' must be an integer vector of length two.
  1: expect_equal(nrow(row_oneway_equalvar(x = x, g = grp)), 0) at testthat/test-parameters-special-cases.R:48
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(row_oneway_equalvar(x = x, g = grp))
  5: row_oneway_equalvar(x = x, g = grp)
  6: matrixStats::rowCounts(nPerGroup != 0)
  
  -- 2. Error: groups can all be NA (@test-parameters-special-cases.R#103)  ------
  Argument 'dim' must be an integer vector of length two.
  1: expect_equal(suppressWarnings(row_oneway_equalvar(x = x, g = grp)$obs.tot), rep(0, 
         nrow(x))) at testthat/test-parameters-special-cases.R:103
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(row_oneway_equalvar(x = x, g = grp)$obs.tot)
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: row_oneway_equalvar(x = x, g = grp)
  7: matrixStats::rowCounts(nPerGroup != 0)
  
  -- 3. Error: groups can all be NaN (@test-parameters-special-cases.R#113)  -----
  Argument 'dim' must be an integer vector of length two.
  1: expect_equal(suppressWarnings(row_oneway_equalvar(x = x, g = grp)$obs.tot), rep(0, 
         nrow(x))) at testthat/test-parameters-special-cases.R:113
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(row_oneway_equalvar(x = x, g = grp)$obs.tot)
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: row_oneway_equalvar(x = x, g = grp)
  7: matrixStats::rowCounts(nPerGroup != 0)
  
  -- 4. Error: all observations can be in the same group (@test-parameters-special
  'x' must be an array of at least two dimensions
  1: expect_equal(suppressWarnings(row_ievora(x = x, g = grp)$obs.0), rep(ncol(x), nrow(x))) at testthat/test-parameters-special-cases.R:127
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(row_ievora(x = x, g = grp)$obs.0)
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: row_ievora(x = x, g = grp)
  7: row_t_welch(x[, g == 1, drop = FALSE], x[, g == 0, drop = FALSE])
  8: rowSums((x - mxs)^2, na.rm = TRUE)
  9: stop("'x' must be an array of at least two dimensions")
  
  == testthat results  ===========================================================
  OK: 820 SKIPPED: 0 FAILED: 4
  1. Error: x and y can have 0 rows and 0 columns (@test-parameters-special-cases.R#48) 
  2. Error: groups can all be NA (@test-parameters-special-cases.R#103) 
  3. Error: groups can all be NaN (@test-parameters-special-cases.R#113) 
  4. Error: all observations can be in the same group (@test-parameters-special-cases.R#127) 
  
  Error: testthat unit tests failed
  Execution halted