Running ‘sleep.R’ [4s/14s]
  Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
  Running ‘testthat.R’ [54s/238s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(estimatr)
  > 
  > test_check("estimatr")
  ── 1. Error: iv_robust matches AER + clubSandwich (@test-iv-robust.R#238)  ─────
  there is no package called 'clubSandwich'
  Backtrace:
   1. clubSandwich::coef_test
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ── 2. Error: Clustered SEs match clubSandwich (@test-lm-cluster.R#188)  ────────
  there is no package called 'clubSandwich'
  Backtrace:
    1. testthat::expect_equivalent(...)
    5. clubSandwich::vcovCR
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11. base:::withOneRestart(expr, restarts[[1L]])
   12. base:::doWithOneRestart(return(expr), restart)
  
  ── 3. Error: multiple outcomes (@test-lm-cluster.R#232)  ───────────────────────
  there is no package called 'clubSandwich'
  Backtrace:
   1. base::as.matrix(...)
   2. clubSandwich::vcovCR
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  ── 4. Error: lm robust F-tests are correct (@test-lm-robust.R#195)  ────────────
  there is no package called 'clubSandwich'
  Backtrace:
   1. clubSandwich::Wald_test
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1290 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: iv_robust matches AER + clubSandwich (@test-iv-robust.R#238) 
  2. Error: Clustered SEs match clubSandwich (@test-lm-cluster.R#188) 
  3. Error: multiple outcomes (@test-lm-cluster.R#232) 
  4. Error: lm robust F-tests are correct (@test-lm-robust.R#195) 
  
  Error: testthat unit tests failed
  Execution halted