Running ‘sleep.R’ [1s/2s]
  Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
  Running ‘testthat.R’ [28s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(estimatr)
  > 
  > test_check("estimatr")
  Failed with error:  'there is no package called 'car''
  Failed with error:  'there is no package called 'car''
  Failed with error:  'there is no package called 'car''
  [ FAIL 2 | WARN 0 | SKIP 18 | PASS 1003 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • AER cannot be loaded (8): 'test-iv-robust.R:29:3', 'test-iv-robust.R:233:3',
    'test-iv-robust.R:327:3', 'test-iv-robust.R:362:3', 'test-iv-robust.R:446:3',
    'test-s3-methods.R:339:3', 'test-s3-methods.R:846:3',
    'test-stata-output.R:57:3'
  • On CRAN (2): 'test-lm-cluster.R:182:3', 'test-lm-cluster.R:213:3'
  • car cannot be loaded (7): 'test-lh-robust.R:16:3', 'test-lh-robust.R:38:3',
    'test-lh-robust.R:63:3', 'test-lh-robust.R:83:3', 'test-lh-robust.R:104:3',
    'test-lh-robust.R:123:3', 'test-lm-robust.R:135:3'
  • modelsummary non reproducible errors (1): 'test-modelsummary.R:7:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-s3-methods.R:186:3'): tidy, glance, summary, and print work ────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'car'
  Backtrace:
      ▆
   1. ├─estimatr::lh_robust(...) at test-s3-methods.R:186:2
   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-s3-methods.R:1117:3'): conf int for lh_robust works ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'car'
  Backtrace:
      ▆
   1. ├─estimatr::lh_robust(...) at test-s3-methods.R:1117:2
   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)
  
  [ FAIL 2 | WARN 0 | SKIP 18 | PASS 1003 ]
  Error: Test failures
  Execution halted