Running 'testthat.R' [24s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(matrixTests)
  > 
  > test_check("matrixTests")
  -- 1. Failure: groups cannot be missing (@test-parameters-main-errors.R#35)  ---
  `row_ievora(x = NA)` threw an error with unexpected message.
  Expected match: "argument \"g\" is missing, with no default"
  Actual message: "argument \"b\" is missing, with no default"
  
  -- 2. Failure: x cannot be a character (@test-parameters-main-errors.R#54)  ----
  `row_ievora(x = matX, g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 3. Failure: x cannot be partially numeric (@test-parameters-main-errors.R#78)
  `row_ievora(x = iris, g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 4. Failure: x cannot be complex (@test-parameters-main-errors.R#102)  -------
  `row_ievora(x = matX, g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 5. Failure: x cannot be logical (@test-parameters-main-errors.R#127)  -------
  `row_ievora(x = matX, g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 6. Failure: x cannot be NULL (@test-parameters-main-errors.R#151)  ----------
  `row_ievora(x = NULL, g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 7. Failure: x cannot be in a list (@test-parameters-main-errors.R#175)  -----
  `row_ievora(x = list(1:5), g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 8. Failure: x cannot be a list (@test-parameters-main-errors.R#198)  --------
  `row_ievora(x = as.list(1:5), g = "a")` threw an error with unexpected message.
  Expected match: "\"x\" must be a numeric matrix or vector"
  Actual message: "unused argument (g = \"a\")"
  
  -- 9. Failure: groups cannot be NULL (@test-parameters-main-errors.R#221)  -----
  `row_ievora(x = matX, g = NULL)` threw an error with unexpected message.
  Expected match: "\"g\" must be a vector with length ncol\\(x\\)"
  Actual message: "unused argument (g = NULL)"
  
  -- 10. Failure: groups cannot be a list (@test-parameters-main-errors.R#231)  --
  `row_ievora(x = matX, g = list(1:3))` threw an error with unexpected message.
  Expected match: "\"g\" must be a vector with length ncol\\(x\\)"
  Actual message: "unused argument (g = list(1:3))"
  
  -- 11. Failure: groups cannot be a matrix (@test-parameters-main-errors.R#242)  
  `row_ievora(x = matX, g = grp)` threw an error with unexpected message.
  Expected match: "\"g\" must be a vector with length ncol\\(x\\)"
  Actual message: "unused argument (g = grp)"
  
  -- 12. Failure: group length matches number of columns (@test-parameters-main-er
  `row_ievora(x = matX, g = 1:3)` threw an error with unexpected message.
  Expected match: "\"g\" must be a vector with length ncol\\(x\\)"
  Actual message: "unused argument (g = 1:3)"
  
  -- 13. Failure: groups have required number of groups (@test-parameters-main-err
  `row_ievora(x = matX, g = c("A", "B", "C", "C"))` threw an error with unexpected message.
  Expected match: "\"g\" must have no more than 2 unique elements"
  Actual message: "unused argument (g = c(\"A\", \"B\", \"C\", \"C\"))"
  
  -- 14. Failure: groups have required number of groups (@test-parameters-main-err
  `row_ievora(x = c(1, 2, 3, 4, NA), g = c(0, 0, 1, 1, 2))` threw an error with unexpected message.
  Expected match: "\"g\" must have no more than 2 unique elements"
  Actual message: "unused argument (g = c(0, 0, 1, 1, 2))"
  
  -- 15. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = NULL)` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 16. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = NULL)` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 17. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = NA)` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 18. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = NA)` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 19. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = "0.05")` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 20. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = "0.05")` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 21. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = complex(1))` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 22. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = complex(1))` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 23. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = list(1))` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 24. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = list(1))` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 25. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = data.frame(1))` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 26. Failure: p-value cutoffs must be numeric (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = data.frame(1))` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 27. Failure: p-value cutoffs have the right dimensions (@test-parameters-opti
  `row_ievora(x = mat, g = grp, cutT = c(1, 2))` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 28. Failure: p-value cutoffs have the right dimensions (@test-parameters-opti
  `row_ievora(x = mat, g = grp, cutBfdr = c(1, 2))` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 29. Failure: p-value cutoffs have the right dimensions (@test-parameters-opti
  `row_ievora(x = mat, g = grp, cutT = cts)` threw an error with unexpected message.
  Expected match: "\"cutT\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 30. Failure: p-value cutoffs have the right dimensions (@test-parameters-opti
  `row_ievora(x = mat, g = grp, cutBfdr = cts)` threw an error with unexpected message.
  Expected match: "\"cutBfdr\" must be a numeric vector with length 1"
  Actual message: "unused argument (g = grp)"
  
  -- 31. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = -0.001)` threw an error with unexpected message.
  Expected match: "all \"cutT\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 32. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = -0.001)` threw an error with unexpected message.
  Expected match: "all \"cutBfdr\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 33. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = 1.001)` threw an error with unexpected message.
  Expected match: "all \"cutT\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 34. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = 1.001)` threw an error with unexpected message.
  Expected match: "all \"cutBfdr\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 35. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = NA_integer_)` threw an error with unexpected message.
  Expected match: "all \"cutT\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 36. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = NaN)` threw an error with unexpected message.
  Expected match: "all \"cutBfdr\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 37. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutT = Inf)` threw an error with unexpected message.
  Expected match: "all \"cutT\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 38. Failure: p-value cut-offs must be in 0-1 (@test-parameters-optional-error
  `row_ievora(x = mat, g = grp, cutBfdr = -Inf)` threw an error with unexpected message.
  Expected match: "all \"cutBfdr\" values must be between: 0 and 1"
  Actual message: "unused argument (g = grp)"
  
  -- 39. Error: x and y can be numeric vectors (@test-parameters-special-cases.R#2
  unused argument (g = grp)
  1: expect_equal(row_ievora(x = x, g = grp), row_ievora(x = X, g = grp)) at testthat/test-parameters-special-cases.R:20
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 40. Error: x and y can be numeric data.frames (@test-parameters-special-cases
  unused argument (g = grp)
  1: expect_equal(row_ievora(x = x, g = grp), row_ievora(x = X, g = grp)) at testthat/test-parameters-special-cases.R:36
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 41. Error: x and y can have 0 rows and 0 columns (@test-parameters-special-ca
  unused argument (g = grp)
  1: expect_equal(nrow(row_ievora(x = x, g = grp)), 0) at testthat/test-parameters-special-cases.R:52
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(row_ievora(x = x, g = grp))
  
  -- 42. Error: NA and NaN are treated the same (@test-parameters-special-cases.R#
  unused argument (g = grp)
  1: expect_equal(row_ievora(x = Xna, g = grp), row_ievora(x = Xnan, g = grp)) at testthat/test-parameters-special-cases.R:72
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 43. Error: NA and NaN produce the same result (@test-parameters-special-cases
  unused argument (g = grp1)
  1: expect_equal(suppressWarnings(row_ievora(x = x, g = grp1)), suppressWarnings(row_ievora(x = x, 
         g = grp2))) at testthat/test-parameters-special-cases.R:96
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: suppressWarnings(row_ievora(x = x, g = grp1))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  
  -- 44. Error: groups can all be NA (@test-parameters-special-cases.R#107)  -----
  unused argument (g = grp)
  1: expect_equal(suppressWarnings(row_ievora(x = x, g = grp)$obs.0), rep(0, nrow(x))) at testthat/test-parameters-special-cases.R:107
  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"))
  
  -- 45. Error: groups can all be NaN (@test-parameters-special-cases.R#117)  ----
  unused argument (g = grp)
  1: expect_equal(suppressWarnings(row_ievora(x = x, g = grp)$obs.0), rep(0, nrow(x))) at testthat/test-parameters-special-cases.R:117
  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"))
  
  -- 46. Error: all observations can be in the same group (@test-parameters-specia
  unused argument (g = grp)
  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"))
  
  -- 47. Error: groups can be character (@test-parameters-special-cases.R#139)  --
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:139
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 48. Error: groups can be factor (@test-parameters-special-cases.R#150)  -----
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:150
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 49. Error: groups can be logical (@test-parameters-special-cases.R#161)  ----
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:161
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 50. Error: groups can be complex (@test-parameters-special-cases.R#172)  ----
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:172
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 51. Error: groups can be a list (@test-parameters-special-cases.R#183)  -----
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:183
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 52. Error: groups can be a matrix (@test-parameters-special-cases.R#194)  ---
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:194
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 53. Error: groups can be infinite (@test-parameters-special-cases.R#205)  ---
  unused argument (g = grp1)
  1: expect_equal(row_ievora(x = x, g = grp1), row_ievora(x = x, g = grp2)) at testthat/test-parameters-special-cases.R:205
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  
  -- 54. Error: when no row-names in the input - numbers are added (@test-result-r
  unused argument (g = grp)
  1: expect_equal(rownames(row_ievora(x = X, g = grp)), rnames) at testthat/test-result-rownames.R:17
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: rownames(row_ievora(x = X, g = grp))
  
  -- 55. Error: when X doesn't have rownames - names from Y or groups are not used
  unused argument (g = grp)
  1: expect_equal(rownames(row_ievora(x = X, g = grp)), rnames) at testthat/test-result-rownames.R:37
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: rownames(row_ievora(x = X, g = grp))
  
  -- 56. Error: when row-names are specified - they are preserved (@test-result-ro
  unused argument (g = grp)
  1: expect_equal(rownames(row_ievora(x = X, g = grp)), rnames) at testthat/test-result-rownames.R:57
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: rownames(row_ievora(x = X, g = grp))
  
  -- 57. Error: when row-names are duplicated - they are modified to be unique (@t
  unused argument (g = grp)
  1: expect_equal(rownames(row_ievora(x = X, g = grp)), rnames) at testthat/test-result-rownames.R:90
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: rownames(row_ievora(x = X, g = grp))
  
  == testthat results  ===========================================================
  OK: 768 SKIPPED: 0 FAILED: 57
  1. Failure: groups cannot be missing (@test-parameters-main-errors.R#35) 
  2. Failure: x cannot be a character (@test-parameters-main-errors.R#54) 
  3. Failure: x cannot be partially numeric (@test-parameters-main-errors.R#78) 
  4. Failure: x cannot be complex (@test-parameters-main-errors.R#102) 
  5. Failure: x cannot be logical (@test-parameters-main-errors.R#127) 
  6. Failure: x cannot be NULL (@test-parameters-main-errors.R#151) 
  7. Failure: x cannot be in a list (@test-parameters-main-errors.R#175) 
  8. Failure: x cannot be a list (@test-parameters-main-errors.R#198) 
  9. Failure: groups cannot be NULL (@test-parameters-main-errors.R#221) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted