Running 'spelling.R' [0s]
  Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Rage)
  > 
  > test_check("Rage")
  Starting 2 test processes
  == Failed tests ================================================================
  -- Failure (test-mature_distrib.R:14:3): mature_distrib works correctly --------
  `x1` (`actual`) not identical to unname(x2) (`expected`).
  
  `names(actual)` is a character vector ('sm', 'md', 'lg', 'xl')
  `names(expected)` is absent
  -- Failure (test-mpm_collapse.R:23:3): mpm_collapse works correctly ------------
  x2$matU (`actual`) not equal to `mat_u` (`expected`).
  
  `dimnames(actual)` is absent
  `dimnames(expected)` is a list
  -- Failure (test-mpm_collapse.R:24:3): mpm_collapse works correctly ------------
  x2$matF (`actual`) not equal to `mat_f` (`expected`).
  
  `dimnames(actual)` is absent
  `dimnames(expected)` is a list
  -- Error (test-mpm_rearrange.R:35:3): mpm_rearrange works correctly ------------
  Error: When naming lifestages, both rows and columns must be named their names must be identical, and they must be the same between both matrices passed to the function.
  Backtrace:
      x
   1. +-base::suppressWarnings(...)
   2. | \-base::withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
   3. \-Rage::mpm_rearrange(...)
   4.   \-Rage:::checkMatchingStageNames(matU, matF)
  -- Failure (test-mpm_to_table.R:32:3): mpm_to_table warns and fails gracefully --
  `mpm_to_table(mat_u, matF = mat_f_named, start = "sm", xmax = xmax)` did not throw the expected error.
  Backtrace:
      x
   1. \-testthat::expect_error(...)
   2.   \-testthat:::expect_condition_matching(...)
  -- Failure (test-net_repro_rate.R:25:3): net_repro_rate warns and fails gracefully --
  `net_repro_rate(mat_u_named, mat_f, start = "sm")` did not throw the expected error.
  Backtrace:
      x
   1. \-testthat::expect_error(net_repro_rate(mat_u_named, mat_f, start = "sm"))
   2.   \-testthat:::expect_condition_matching(...)
  -- Failure (test-net_repro_rate.R:26:3): net_repro_rate warns and fails gracefully --
  `net_repro_rate(mat_u, mat_f_named, start = "sm")` did not throw the expected error.
  Backtrace:
      x
   1. \-testthat::expect_error(net_repro_rate(mat_u, mat_f_named, start = "sm"))
   2.   \-testthat:::expect_condition_matching(...)
  -- Error (test-perturb_trans.R:14:3): perturb_trans works correctly ------------
  Error: When naming lifestages, both rows and columns must be named their names must be identical, and they must be the same between both matrices passed to the function.
  Backtrace:
      x
   1. +-base::suppressWarnings(...)
   2. | \-base::withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
   3. \-Rage::perturb_trans(mat_u, matF = mat_f_zero, matC = mat_c)
   4.   \-Rage:::checkMatchingStageNames(matU, matF)
  -- Error (test-standard_stages.R:7:3): standard_stages works correctly ---------
  Error: When naming lifestages, both rows and columns must be named their names must be identical, and they must be the same between both matrices passed to the function.
  Backtrace:
      x
   1. \-Rage::mpm_rearrange(mat_u, mat_f, mat_c, repro_stages, matrix_stages)
   2.   \-Rage:::checkMatchingStageNames(matU, matC)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 395 ]
  Error: Test failures
  Execution halted