Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clubSandwich)
  Registered S3 method overwritten by 'clubSandwich':
    method    from    
    bread.mlm sandwich
  > 
  > test_check("clubSandwich")
  [ FAIL 8 | WARN 0 | SKIP 15 | PASS 805 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Not yet ready to test. (1)
  • On CRAN (12)
  • packageVersion("metafor") < "3.1.31" is TRUE (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_Wald.R:203:1): (code run outside of `test_that()`) ──────────────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'AER'
  Backtrace:
      █
   1. └─utils::data(STAR, package = "AER") test_Wald.R:203:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  ── Error (test_estfun.R:4:1): (code run outside of `test_that()`) ──────────────
  <packageNotFoundError/error/condition>
  Error in `library(AER, quietly = TRUE)`: there is no package called 'AER'
  Backtrace:
      █
   1. └─base::library(AER, quietly = TRUE) test_estfun.R:4:0
  ── Error (test_ivreg.R:5:1): (code run outside of `test_that()`) ───────────────
  <packageNotFoundError/error/condition>
  Error in `library(AER, quietly = TRUE)`: there is no package called 'AER'
  Backtrace:
      █
   1. └─base::library(AER, quietly = TRUE) test_ivreg.R:5:0
  ── Error (test_linear_contrast.R:19:1): (code run outside of `test_that()`) ────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'AER'
  Backtrace:
      █
   1. └─utils::data(STAR, package = "AER") test_linear_contrast.R:19:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  ── Error (test_lme_2level.R:4:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4, quietly = TRUE)`: there is no package called 'lme4'
  Backtrace:
      █
   1. ├─base::suppressMessages(library(lme4, quietly = TRUE)) test_lme_2level.R:4:0
   2. │ └─base::withCallingHandlers(...)
   3. └─base::library(lme4, quietly = TRUE)
  ── Error (test_lme_3level.R:4:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4, quietly = TRUE)`: there is no package called 'lme4'
  Backtrace:
      █
   1. ├─base::suppressMessages(library(lme4, quietly = TRUE)) test_lme_3level.R:4:0
   2. │ └─base::withCallingHandlers(...)
   3. └─base::library(lme4, quietly = TRUE)
  ── Error (test_lmerMod.R:4:1): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4, quietly = TRUE)`: there is no package called 'lme4'
  Backtrace:
      █
   1. ├─base::suppressMessages(library(lme4, quietly = TRUE)) test_lmerMod.R:4:0
   2. │ └─base::withCallingHandlers(...)
   3. └─base::library(lme4, quietly = TRUE)
  ── Error (test_plm-first-differences.R:6:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'AER'
  Backtrace:
      █
   1. └─utils::data(Fatalities, package = "AER") test_plm-first-differences.R:6:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  
  [ FAIL 8 | WARN 0 | SKIP 15 | PASS 805 ]
  Error: Test failures
  Execution halted