Running 'sleep.R' [1s/1s]
  Comparing 'sleep.Rout' to 'sleep.Rout.save' ... OK
  Running 'testthat.R' [43s/50s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(estimatr)
  > 
  > test_check("estimatr")
  -- ERROR (test-iv-robust-fes.R:112:3): IV FE matches lfe including proj r2 -----
  Error: there is no package called 'lfe'
  Backtrace:
      x
   1. \-base::loadNamespace(x) test-iv-robust-fes.R:112:2
   2.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     \-base:::withOneRestart(expr, restarts[[1L]])
   4.       \-base:::doWithOneRestart(return(expr), restart)
  
  -- Skip (test-iv-robust.R:231:3): iv_robust matches AER + clubSandwich ---------
  Reason: On CRAN
  
  -- Skip (test-lm-cluster.R:182:3): Clustered SEs match clubSandwich ------------
  Reason: On CRAN
  
  -- Skip (test-lm-cluster.R:213:3): multiple outcomes ---------------------------
  Reason: On CRAN
  
  -- ERROR (test-lm-robust-fes.R:459:3): FEs give correct projected F-stats ------
  Error: there is no package called 'lfe'
  Backtrace:
      x
   1. \-base::loadNamespace(x) test-lm-robust-fes.R:459:2
   2.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     \-base:::withOneRestart(expr, restarts[[1L]])
   4.       \-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:
      x
   1. \-modelsummary:::extract_models(list(model1, model2)) test-modelsummary.R:37:2
  
  -- Skipped tests  --------------------------------------------------------------
  * On CRAN (3)
  
  == testthat results  ===========================================================
  ERROR (test-iv-robust-fes.R:112:3): IV FE matches lfe including proj r2
  ERROR (test-lm-robust-fes.R:459:3): FEs give correct projected F-stats
  FAILURE (test-modelsummary.R:15:3): modelsummary works with glance
  ERROR (test-modelsummary.R:37:3): modelsummary works with glance
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 1283 ]
  Error: Test failures
  Execution halted