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")
         Coef. Estimate    SE t-stat d.f. (z) p-val (z) Sig. d.f. (naive-t)
   (Intercept)    0.879 0.461  1.905      Inf    0.0568    .             14
        X_btwB   -0.837 0.965 -0.867      Inf    0.3860                  14
        X_btwC   -0.411 0.636 -0.647      Inf    0.5178                  14
         X_wth   -0.145 0.175 -0.829      Inf    0.4070                  14
   p-val (naive-t) Sig. d.f. (naive-tp) p-val (naive-tp) Sig. d.f. (Satt)
            0.0775    .              11           0.0832    .        4.26
            0.4006                   11           0.4045             6.00
            0.5283                   11           0.5311             6.37
            0.4209                   11           0.4246            14.00
   p-val (Satt) Sig.   s.p. p-val (Saddle) Sig.
          0.125       0.298          0.124     
          0.419      -0.142          0.416     
          0.540      -0.599          0.535     
          0.421      -0.212          0.415     
                Coef. Estimate    SE  d.f. Lower 95% CI Upper 95% CI p-value Sig.
          (Intercept)   12.188 0.966  9.98        10.03      14.3420  <0.001  ***
   sin(2 * pi * Time)   -2.813 0.531  9.98        -4.00      -1.6283  <0.001  ***
   cos(2 * pi * Time)   -0.829 0.384 10.00        -1.68       0.0257   0.056    .
  ══ 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_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 7 | WARN 0 | SKIP 15 | PASS 805 ]
  Error: Test failures
  Execution halted