* using log directory ‘/data/gannet/ripley/R/packages/tests-devel/clubSandwich.Rcheck’
* using R Under development (unstable) (2025-02-14 r87716)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
    GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
* running under: Fedora Linux 40 (Workstation Edition)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘clubSandwich/DESCRIPTION’ ... OK
* this is package ‘clubSandwich’ version ‘0.5.11’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘clubSandwich’ can be installed ... [11s/27s] OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/clubSandwich-00install.html' for details.
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [21s/53s] OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [18s/48s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [5m/10m] ERROR
  Running ‘testthat.R’ [5m/10m]
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 4 | WARN 32 | SKIP 28 | PASS 1411 ]
  
  ══ Skipped tests (28) ══════════════════════════════════════════════════════════
  • Need to understand target-unbiasedness for ivreg objects. (2):
    'test_AER_ivreg.R:141:3', 'test_ivreg_ivreg.R:141:3'
  • On CRAN (24): 'test_Wald.R:119:3', 'test_Wald.R:173:3',
    'test_geeglm.R:161:3', 'test_linear_contrast.R:136:3',
    'test_lme_3level.R:39:3', 'test_lme_3level.R:76:3',
    'test_lme_3level.R:116:3', 'test_lme_3level.R:127:3',
    'test_lme_3level.R:138:3', 'test_lme_3level.R:179:3', 'test_lme_MVML.R:4:1',
    'test_lmerMod.R:124:3', 'test_mlm.R:94:3',
    'test_plm-first-differences.R:92:3', 'test_plm-fixed-effects.R:146:3',
    'test_plm-unbalanced-fixed-effects.R:170:3', 'test_rma-ls.R:26:3',
    'test_rma-mv.R:101:3', 'test_rma-mv.R:220:3', 'test_rma-mv.R:321:3',
    'test_rma-uni.R:76:3', 'test_robu.R:173:3', 'test_robu.R:210:3',
    'test_robu.R:252:3'
  • empty test (1): 'test_estfun.R:50:1'
  • packageVersion("plm") > "2.6-1" is TRUE (1):
    'test_plm-first-differences.R:41:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_lmerMod.R:166:3'): lmer agrees with lme ──────────────────────
  bread(lmer_fit)/bread(lme_fit) not equal to matrix(1, p, p).
  9/36 mismatches (average diff: 1.54)
  [1]  2.54 - 1 == 1.54
  [3]  2.54 - 1 == 1.54
  [4]  2.54 - 1 == 1.54
  [13] 2.54 - 1 == 1.54
  [15] 2.54 - 1 == 1.54
  [16] 2.54 - 1 == 1.54
  [19] 2.54 - 1 == 1.54
  [21] 2.54 - 1 == 1.54
  [22] 2.54 - 1 == 1.54
  ── Failure ('test_lmerMod.R:167:3'): lmer agrees with lme ──────────────────────
  targetVariance(lmer_fit) not equal to targetVariance(lme_fit).
  Component 1: Mean relative difference: 0.6081393
  Component 2: Mean relative difference: 0.6081393
  Component 3: Mean relative difference: 0.6081393
  Component 4: Mean relative difference: 0.6081393
  Component 5: Mean relative difference: 0.6081393
  Component 6: Mean relative difference: 0.6081393
  Component 7: Mean relative difference: 0.6081393
  Component 8: Mean relative difference: 0.6081393
  Component 9: Mean relative difference: 0.6081393
  ...
  ── Failure ('test_lmerMod.R:168:3'): lmer agrees with lme ──────────────────────
  weightMatrix(lmer_fit) not equal to weightMatrix(lme_fit).
  Component 1: Mean relative difference: 0.0009284284
  Component 2: Mean relative difference: 0.0009284284
  Component 3: Mean relative difference: 0.0009284284
  Component 4: Mean relative difference: 0.0009284284
  Component 5: Mean relative difference: 0.0009284284
  Component 6: Mean relative difference: 0.0009284284
  Component 7: Mean relative difference: 0.0009284284
  Component 8: Mean relative difference: 0.0009284284
  Component 9: Mean relative difference: 0.0009284284
  ...
  ── Failure ('test_lmerMod.R:182:3'): lmer agrees with lme ──────────────────────
  a$Fstat not equal to b$Fstat.
  88/280 mismatches (average diff: 0.354)
  [8]    31.5 -   30.6 ==  0.956
  [28] 1328.1 - 1327.8 ==  0.350
  [29] 1320.5 - 1320.1 ==  0.369
  [30] 1361.8 - 1361.7 ==  0.118
  [31] 1477.0 - 1477.2 == -0.265
  [32]   22.7 -   22.5 ==  0.179
  [36] 1331.3 - 1330.9 ==  0.351
  [37] 1323.6 - 1323.3 ==  0.369
  [38] 1365.0 - 1364.9 ==  0.118
  ...
  Backtrace:
      â–†
   1. └─clubSandwich:::compare_Waldtests(Wald_lmer, Wald_lme) at test_lmerMod.R:182:3
   2.   └─testthat::expect_equal(a$Fstat, b$Fstat, tolerance = tol)
  
  [ FAIL 4 | WARN 32 | SKIP 28 | PASS 1411 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [54s/90s] OK
* checking PDF version of manual ... [9s/11s] OK
* checking HTML version of manual ... OK
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE
Status: 1 ERROR