Running 'testthat.R' [25s/28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(arsenal)
  > 
  > test_check("arsenal")
  -- 1. Error: Keep labels in modelsum (@test_keep.labels.R#77)  -----------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: A three-LHS modelsum call (@test_lhs_modelsum.R#8)  ---------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: A modelsum call with strata (@test_lhs_modelsum.R#19)  ------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: strata levels are maintained (@test_lhs_modelsum.R#48)  -----------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   12. arsenal::modelsum(...)
   13. arsenal:::modelsum_guts(...)
   14. broom::tidy
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   20. base:::withOneRestart(expr, restarts[[1L]])
   21. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: Multiple adjustments work (#240) (@test_lhs_modelsum.R#71)  -------
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: Reordering variables and subsetting (@test_lhs_modelsum.R#190)  ---
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: Merging modelsum objects (@test_lhs_modelsum.R#222)  --------------
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 8. Error: Changing labels (@test_lhs_modelsum.R#253)  -----------------------
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 9. Error: 02/23/2018: wrapping long labels (#59) (@test_lhs_modelsum.R#391)  
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   12. arsenal::modelsum(...)
   13. arsenal:::modelsum_guts(...)
   14. broom::tidy
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   20. base:::withOneRestart(expr, restarts[[1L]])
   21. base:::doWithOneRestart(return(expr), restart)
  
  -- 10. Error: A basic modelsum call--no labels, no missings (@test_modelsum.R#13
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + time, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 11. Error: A basic modelsum tableby call--labels, no missings (@test_modelsum
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + trt, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 12. Error: A basic modelsum call--adding adjustment (@test_modelsum.R#39)  --
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + time, adjust = ~trt, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 13. Error: A basic modelsum call--suppressing intercept and/or adjustment var
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + time, adjust = ~trt, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 14. Error: Reordering variables (@test_modelsum.R#90)  ----------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + Group + time, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 15. Failure: offset() works (@test_modelsum.R#125)  -------------------------
  `summary(...)` threw an error.
  Message: there is no package called 'broom'
  Class:   packageNotFoundError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    7. arsenal::modelsum(...)
    8. arsenal:::modelsum_guts(...)
    9. broom::tidy
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   15. base:::withOneRestart(expr, restarts[[1L]])
   16. base:::doWithOneRestart(return(expr), restart)
  
  -- 16. Error: strata() works (@test_modelsum.R#134)  ---------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 17. Error: 'weights=' works (@test_modelsum.R#170)  -------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex, data = mdat, weights = weights)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 18. Error: interactions work (@test_modelsum.R#181)  ------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(age ~ bmi, adjust = ~sex * arm, data = mockstudy)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 19. Error: ordinal works (@test_modelsum.R#240)  ----------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 20. Error: negbin works (@test_modelsum.R#286)  -----------------------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 21. Error: 01/26/2017: Brendan Broderick's Bold Text Wrapping Problem (@test_
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 22. Failure: 02/07/2017: Ryan Lennon's R Markdown spacing problem. Also 02/14
  `capture.kable(...)` threw an error.
  Message: there is no package called 'broom'
  Class:   packageNotFoundError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
   13. arsenal::modelsum(Age ~ Sex + time, data = mdat)
   14. arsenal:::modelsum_guts(...)
   15. broom::tidy
   16. base::getExportedValue(pkg, name)
   17. base::asNamespace(ns)
   18. base::getNamespace(ns)
   19. base::loadNamespace(name)
   20. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   21. base:::withOneRestart(expr, restarts[[1L]])
   22. base:::doWithOneRestart(return(expr), restart)
  
  -- 23. Error: 02/13/2017: Krista Goergen's survival subset and NA problems (@tes
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 24. Error: 04/12/2017: ... vs modelsum.control (@test_modelsum.R#368)  ------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 25. Error: 08/01/2017: Beth Atkinson's subset problem (@test_modelsum.R#386) 
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 26. Error: 07/27/2017: Too many adjustment vars in as.data.frame.modelsum (#1
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_equal(...)
    6. arsenal::modelsum(y ~ x1, adjust = ~x7 + x2 + x3 + x5 + x8, data = df)
    7. arsenal:::modelsum_guts(...)
    8. broom::tidy
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. base:::withOneRestart(expr, restarts[[1L]])
   15. base:::doWithOneRestart(return(expr), restart)
  
  -- 27. Error: 07/27/2017: modelsum labels (#13) (@test_modelsum.R#411)  --------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(bmi ~ age, adjust = ~sex, data = mockstudy)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 28. Error: 12/23/2017: non-syntactic names (#44, #45) (@test_modelsum.R#435) 
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(y ~ x1x, data = dat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 29. Error: 01/05/2018: leading/trailing whitespace (#48) (@test_modelsum.R#45
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(age ~ arm, data = set_labels(mockstudy, list(arm = " Arm ")))
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 30. Error: 02/23/2018: wrapping long labels (#59) (@test_modelsum.R#484)  ---
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   12. arsenal::modelsum(...)
   13. arsenal:::modelsum_guts(...)
   14. broom::tidy
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   20. base:::withOneRestart(expr, restarts[[1L]])
   21. base:::doWithOneRestart(return(expr), restart)
  
  -- 31. Error: 05/31/2018: similar column names (#98) (@test_modelsum.R#513)  ---
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(y ~ b, adjust = ~a + aa, data = dat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 32. Error: 05/31/2018: similar column names (#100) (@test_modelsum.R#533)  --
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 33. Error: 06/19/2018: term.name (#109) (@test_modelsum.R#547)  -------------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(Age ~ Sex + time, adjust = ~trt, data = mdat)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 34. Error: 08/24/2018: latex (#123)  ----------------------------------------
  there is no package called 'broom'
  Backtrace:
    1. base::summary(...)
    2. arsenal::modelsum(Age ~ Sex, adjust = ~trt, data = mdat)
    3. arsenal:::modelsum_guts(...)
    4. broom::tidy
    5. base::getExportedValue(pkg, name)
    6. base::asNamespace(ns)
    7. base::getNamespace(ns)
    8. base::loadNamespace(name)
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 35. Error: 09/05/2018: correctly label contrasts for ordinal variables (#133)
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 36. Error: 08/07/2019: survival confidence limits (#245) (@test_modelsum.R#60
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 37. Error: 08/07/2019: p.value.lrt (#238) (@test_modelsum.R#624)  -----------
  there is no package called 'broom'
  Backtrace:
    1. testthat::expect_identical(...)
   11. arsenal::modelsum(...)
   12. arsenal:::modelsum_guts(...)
   13. broom::tidy
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 38. Error: statistic.F works (#262) (@test_modelsum.R#650)  -----------------
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 39. Error: Nevents works (#266) (@test_modelsum.R#667)  ---------------------
  there is no package called 'broom'
  Backtrace:
    1. arsenal::modelsum(...)
    2. arsenal:::modelsum_guts(...)
    3. broom::tidy
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    8. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9. base:::withOneRestart(expr, restarts[[1L]])
   10. base:::doWithOneRestart(return(expr), restart)
  
  -- 40. Error: write2.list (summary objects) -> PDF (@test_write2.R#55)  --------
  there is no package called 'broom'
  Backtrace:
    1. base::summary(modelsum(age ~ sex, data = mockstudy), title = "A Title for modelsum")
    2. arsenal::modelsum(age ~ sex, data = mockstudy)
    3. arsenal:::modelsum_guts(...)
    4. broom::tidy
    5. base::getExportedValue(pkg, name)
    6. base::asNamespace(ns)
    7. base::getNamespace(ns)
    8. base::loadNamespace(name)
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 370 | SKIPPED: 11 | WARNINGS: 2 | FAILED: 40 ]
  1. Error: Keep labels in modelsum (@test_keep.labels.R#77) 
  2. Error: A three-LHS modelsum call (@test_lhs_modelsum.R#8) 
  3. Error: A modelsum call with strata (@test_lhs_modelsum.R#19) 
  4. Error: strata levels are maintained (@test_lhs_modelsum.R#48) 
  5. Error: Multiple adjustments work (#240) (@test_lhs_modelsum.R#71) 
  6. Error: Reordering variables and subsetting (@test_lhs_modelsum.R#190) 
  7. Error: Merging modelsum objects (@test_lhs_modelsum.R#222) 
  8. Error: Changing labels (@test_lhs_modelsum.R#253) 
  9. Error: 02/23/2018: wrapping long labels (#59) (@test_lhs_modelsum.R#391) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted