Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [24s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(broom.helpers)
  
  Attaching package: 'broom.helpers'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("broom.helpers")
  [ FAIL 47 | WARN 0 | SKIP 92 | PASS 66 ]
  
  ══ Skipped tests (92) ══════════════════════════════════════════════════════════
  • On CRAN (89): 'test-add_contrasts.R:193:3', 'test-add_contrasts.R:204:3',
    'test-add_contrasts.R:317:3', 'test-add_estimate_to_reference_rows.R:257:1',
    'test-add_header_rows.R:158:3', 'test-add_header_rows.R:220:3',
    'test-add_n.R:150:3', 'test-add_n.R:161:3', 'test-add_n.R:174:3',
    'test-add_n.R:183:3', 'test-add_n.R:194:3',
    'test-add_pairwise_contrasts.R:2:3', 'test-add_reference_rows.R:223:3',
    'test-add_reference_rows.R:238:3', 'test-add_reference_rows.R:256:3',
    'test-add_term_labels.R:231:3', 'test-add_term_labels.R:274:3',
    'test-add_term_labels.R:289:1', 'test-add_variable_labels.R:176:3',
    'test-add_variable_labels.R:189:3', 'test-attach_and_detach.R:22:3',
    'test-disambiguate_terms.R:14:3', 'test-disambiguate_terms.R:47:3',
    'test-marginal_tidiers.R:2:3', 'test-marginal_tidiers.R:35:3',
    'test-marginal_tidiers.R:68:3', 'test-marginal_tidiers.R:101:3',
    'test-marginal_tidiers.R:201:3', 'test-marginal_tidiers.R:264:3',
    'test-marginal_tidiers.R:346:3', 'test-marginal_tidiers.R:356:3',
    'test-marginal_tidiers.R:419:3', 'test-marginal_tidiers.R:481:3',
    'test-marginal_tidiers.R:541:3', 'test-model_get_n.R:192:3',
    'test-model_get_n.R:212:3', 'test-model_get_n.R:224:3',
    'test-model_get_n.R:239:3', 'test-model_get_n.R:279:3',
    'test-model_get_n.R:294:3', 'test-model_get_n.R:320:3',
    'test-model_get_n.R:346:3', 'test-model_get_n.R:355:3',
    'test-model_get_n.R:363:3', 'test-model_get_n.R:371:3',
    'test-model_get_n.R:392:3', 'test-model_get_n.R:402:3',
    'test-model_get_n.R:423:3', 'test-model_get_n.R:438:3',
    'test-select_helpers.R:42:3', 'test-select_helpers.R:219:3',
    'test-tidy_plus_plus.R:59:3', 'test-tidy_plus_plus.R:108:3',
    'test-tidy_plus_plus.R:129:3', 'test-tidy_plus_plus.R:160:3',
    'test-tidy_plus_plus.R:173:3', 'test-tidy_plus_plus.R:189:3',
    'test-tidy_plus_plus.R:210:3', 'test-tidy_plus_plus.R:225:3',
    'test-tidy_plus_plus.R:235:3', 'test-tidy_plus_plus.R:249:3',
    'test-tidy_plus_plus.R:268:3', 'test-tidy_plus_plus.R:310:3',
    'test-tidy_plus_plus.R:332:3', 'test-tidy_plus_plus.R:346:3',
    'test-tidy_plus_plus.R:359:3', 'test-tidy_plus_plus.R:371:3',
    'test-tidy_plus_plus.R:383:3', 'test-tidy_plus_plus.R:393:3',
    'test-tidy_plus_plus.R:402:3', 'test-tidy_plus_plus.R:419:3',
    'test-tidy_plus_plus.R:431:3', 'test-tidy_plus_plus.R:446:3',
    'test-tidy_plus_plus.R:463:3', 'test-tidy_plus_plus.R:479:3',
    'test-tidy_plus_plus.R:491:3', 'test-tidy_plus_plus.R:505:3',
    'test-tidy_plus_plus.R:525:3', 'test-tidy_plus_plus.R:549:3',
    'test-tidy_plus_plus.R:589:3', 'test-tidy_plus_plus.R:612:3',
    'test-tidy_plus_plus.R:631:3', 'test-tidy_plus_plus.R:655:3',
    'test-tidy_plus_plus.R:674:3', 'test-tidy_plus_plus.R:692:3',
    'test-tidy_plus_plus.R:713:3', 'test-tidy_plus_plus.R:765:3',
    'test-tidy_plus_plus.R:823:3', 'test-tidy_plus_plus.R:899:3'
  • survey cannot be loaded (3): 'test-add_contrasts.R:255:3',
    'test-add_n.R:225:3', 'test-add_variable_labels.R:250:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-add_coefficients_type.R:2:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(gtsummary)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::library(gtsummary) at test-add_coefficients_type.R:2:1
  ── Error ('test-add_contrasts.R:2:3'): tidy_add_contrast() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_contrasts.R:134:3'): test tidy_add_contrasts() checks ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_contrasts.R:148:3'): tidy_add_contrasts() works with no intercept models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_contrasts.R:162:3'): tidy_add_contrasts() works with variables having non standard name ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(gtsummary::trial, `grade of kids` = grade) at test-add_contrasts.R:162:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_contrasts.R:233:3'): tidy_add_contrasts() works with nnet::multinom ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(formula = grade ~ stage + marker + age, data = gtsummary::trial)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_estimate_to_reference_rows.R:2:3'): tidy_add_estimate_to_reference_rows() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_estimate_to_reference_rows.R:142:3'): test tidy_add_estimate_to_reference_rows() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_estimate_to_reference_rows.R:176:3'): tidy_add_estimate_to_reference_rows() works with character variables ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(...) at test-add_estimate_to_reference_rows.R:176:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_estimate_to_reference_rows.R:231:3'): tidy_add_estimate_to_reference_rows() handles variables having non standard name ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(gtsummary::trial, `grade of kids` = grade) at test-add_estimate_to_reference_rows.R:231:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_estimate_to_reference_rows.R:249:3'): tidy_add_estimate_to_reference_rows() preserve estimates of continuous variables ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. ├─stats::na.omit(gtsummary::trial)
   5. └─base::loadNamespace(x)
   6.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7.     └─base (local) withOneRestart(expr, restarts[[1L]])
   8.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_header_rows.R:2:3'): tidy_add_header_rows() works as expected ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_header_rows.R:143:3'): test tidy_add_header_rows() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_n.R:2:3'): tidy_add_n() works for basic models ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_n.R:124:3'): test tidy_add_n() checks ──────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_n.R:137:3'): tidy_add_n() works with variables having non standard name ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(gtsummary::trial, `grade of kids` = grade) at test-add_n.R:137:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_reference_rows.R:2:3'): tidy_add_reference_rows() works as expected ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_reference_rows.R:116:3'): test tidy_add_reference_rows() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_reference_rows.R:159:3'): tidy_add_reference_rows() works with different values of base in contr.treatment() ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_reference_rows.R:201:3'): tidy_add_reference_rows() use var_label if available ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_term_labels.R:8:3'): tidy_add_term_labels() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-add_term_labels.R:8:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_term_labels.R:87:3'): test tidy_add_term_labels() checks ───
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_term_labels.R:104:3'): tidy_add_term_labels() correctly manages interaction terms ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-add_term_labels.R:104:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_term_labels.R:178:3'): tidy_add_term_labels() works with poly or helmert contrasts ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_term_labels.R:193:3'): tidy_add_term_labels() works with sdif contrasts ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:4:3'): tidy_add_variable_labels() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-add_variable_labels.R:4:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:85:3'): test tidy_add_variable_labels() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:106:3'): tidy_add_variable_labels() correctly manages interaction terms ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-add_variable_labels.R:106:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:144:3'): tidy_add_variable_labels() works with variables having non standard name ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(gtsummary::trial, `grade of kids` = grade) at test-add_variable_labels.R:144:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:210:3'): tidy_add_variable_labels() works with survival::coxph ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─survival::coxph(survival::Surv(ttdeath, death) ~ grade, gtsummary::trial) at test-add_variable_labels.R:210:3
   2. │ ├─stats::terms(formula, specials = ss, data = data)
   3. │ └─stats::terms.formula(formula, specials = ss, data = data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:231:3'): tidy_add_variable_labels() works with survival::survreg ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─survival::survreg(survival::Surv(ttdeath, death) ~ grade, gtsummary::trial) at test-add_variable_labels.R:231:3
   2. │ ├─stats::terms(formula, specials = ss, data = data)
   3. │ └─stats::terms.formula(formula, specials = ss, data = data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-add_variable_labels.R:245:3'): tidy_add_variable_labels() works with nnet::multinom ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(formula = grade ~ stage + marker + age, data = gtsummary::trial)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-disambiguate_terms.R:2:3'): tidy_disambiguate_terms() changes nothing for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-identify_variables.R:2:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(gtsummary)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. └─base::library(gtsummary) at test-identify_variables.R:2:1
  ── Error ('test-model_get_n.R:20:3'): model_get_n() works for basic models ─────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-model_get_n.R:125:3'): model_get_n() handles variables having non standard name ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─dplyr::mutate(gtsummary::trial, `grade of kids` = grade) at test-model_get_n.R:125:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-model_get_n.R:138:3'): model_get_n() works with different contrasts ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-remove_intercept.R:2:3'): tidy_remove_intercept() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-remove_intercept.R:14:3'): test tidy_remove_intercept() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-select_helpers.R:2:3'): select_helpers: all_*() ────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-select_helpers.R:183:3'): select_helpers: tidy_add_header_rows ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-select_helpers.R:194:3'): select_helpers: tidy_add_variable_labels ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-select_variables.R:2:3'): tidy_select_variables() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-select_variables.R:78:3'): test tidy_select_variables() checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-tidy_parameters.R:13:3'): tidy_parameters() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-tidy_plus_plus.R:8:3'): tidy_plus_plus() works for basic models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-tidy_plus_plus.R:36:3'): tidy_plus_plus() works with no intercept models ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'gtsummary'
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. ├─stats::model.frame.default(...)
   3. │ └─base::is.data.frame(data)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 47 | WARN 0 | SKIP 92 | PASS 66 ]
  Error: Test failures
  Execution halted