Running ‘sleep.R’ [1s/1s]
  Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
  Running ‘testthat.R’ [43s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(estimatr)
  > 
  > test_check("estimatr")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-iv-robust-fes.R:112:3): IV FE matches lfe including proj r2 ─────
  Error: there is no package called 'lfe'
  Backtrace:
      █
   1. └─lfe::felm test-iv-robust-fes.R:112:2
   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)
  ── Error (test-lm-robust-fes.R:459:3): FEs give correct projected F-stats ──────
  Error: there is no package called 'lfe'
  Backtrace:
      █
   1. └─lfe::felm test-lm-robust-fes.R:459:2
   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)
  ── Failure (test-modelsummary.R:15:3): modelsummary works with glance ──────────
  colnames(mso) not equal to c("group", "term", "statistic", "Model 1", "Model 2", "Model 3").
  1/6 mismatches
  x[1]: "part"
  y[1]: "group"
  ── Error (test-modelsummary.R:37:3): modelsummary works with glance ────────────
  Error: This function is deprecated. Consider using `modelsummary(output="data.frame")` instead.
  Backtrace:
      █
   1. └─modelsummary:::extract_models(list(model1, model2)) test-modelsummary.R:37:2
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 1283 ]
  Error: Test failures
  Execution halted