- using R Under development (unstable) (2025-10-28 r88973)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
    gcc-15 (Debian 15.2.0-4) 15.2.0
    GNU Fortran (Debian 15.2.0-4) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘summclust/DESCRIPTION’ ... OK
- this is package ‘summclust’ version ‘0.7.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] NOTE
Maintainer: ‘Alexander Fischer <alexander-fischer1801@t-online.de>’
The Description field contains
  2022; <arXiv:2205.03288v1>).
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- 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 serialization versions ... OK
- checking whether package ‘summclust’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [5s/8s] OK
- checking Rd files ... [0s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [15s/20s] ERROR
  Running ‘testthat.R’ [15s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(summclust)
  > 
  > test_check("summclust")
  Loading required namespace: fabricatr
  summclust.fixest(obj = feols_fit, cluster = ~group_id1, params = c("treatment", 
      "log_income"))
   
  Number of observations: 95 97 99 104 98 93 116 102 100 96 
  Number of clusters: 7 
   
                     coef      tstat          se     p_val   conf_int_l
  treatment   0.014634446  1.5882634 0.009214118 0.1466894 -0.006209337
  log_income -0.001417457 -0.4237128 0.003345325 0.6817219 -0.008985108
              conf_int_u
  treatment  0.035478230
  log_income 0.006150194
   
                   N_G  leverage partial-leverage-treatment
  Min.     93.00000000 0.1414602                 0.09313171
  1st Qu.  96.25000000 0.1655626                 0.09505736
  Median   98.50000000 0.1969216                 0.09877701
  Mean    100.00000000 0.2000000                 0.10000000
  3rd Qu. 101.50000000 0.2151630                 0.10266611
  Max.    116.00000000 0.3296761                 0.11516014
  coefvar   0.06497863 0.2705771                 0.06531733
          partial-leverage-log_income beta-treatment beta-log_income
  Min.                     0.04745902    0.009432553   -4.418022e-03
  1st Qu.                  0.06474135    0.012721659   -1.545444e-03
  Median                   0.08748224    0.014827927   -1.478700e-03
  Mean                     0.10000000    0.014603939   -1.467387e-03
  3rd Qu.                  0.11591556    0.016141665   -9.697266e-04
  Max.                     0.22874955    0.020724656    4.721959e-05
  coefvar                  0.52899992    0.221676594    8.002307e-01
  summclust.fixest(obj = feols_fit, cluster = ~group_id1, params = c("treatment", 
      "log_income"))
   
  Number of observations: 95 97 99 104 98 93 116 102 100 96 
  Number of clusters: 7 
   
                     coef      tstat          se     p_val   conf_int_l
  treatment   0.014634446  1.5882634 0.009214118 0.1466894 -0.006209337
  log_income -0.001417457 -0.4237128 0.003345325 0.6817219 -0.008985108
              conf_int_u
  treatment  0.035478230
  log_income 0.006150194
   
                   N_G  leverage partial-leverage-treatment
  Min.     93.00000000 0.1414602                 0.09313171
  1st Qu.  96.25000000 0.1655626                 0.09505736
  Median   98.50000000 0.1969216                 0.09877701
  Mean    100.00000000 0.2000000                 0.10000000
  3rd Qu. 101.50000000 0.2151630                 0.10266611
  Max.    116.00000000 0.3296761                 0.11516014
  coefvar   0.06497863 0.2705771                 0.06531733
          partial-leverage-log_income beta-treatment beta-log_income
  Min.                     0.04745902    0.009432553   -4.418022e-03
  1st Qu.                  0.06474135    0.012721659   -1.545444e-03
  Median                   0.08748224    0.014827927   -1.478700e-03
  Mean                     0.10000000    0.014603939   -1.467387e-03
  3rd Qu.                  0.11591556    0.016141665   -9.697266e-04
  Max.                     0.22874955    0.020724656    4.721959e-05
  coefvar                  0.52899992    0.221676594    8.002307e-01
  Loading required namespace: ggplot2
  Loading required namespace: latex2exp
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  downloading the 'nlswork' dataset.
  downloading the 'nlswork' dataset.
  NOTE: 1/1/0/0 fixed-effect singletons were removed (2 observations).
  NOTE: 1/1/0/0 fixed-effect singletons were removed (2 observations).
  NOTE: 1 observation removed because of NA values (vcov: 1).
  NOTE: 1 observation removed because of NA values (vcov: 1).
  NOTE: 1 observation removed because of NA values (RHS: 1).
  [ FAIL 3 | WARN 0 | SKIP 6 | PASS 111 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-r-vs-stata-2.R:11:3', 'test-r-vs-stata.R:11:3'
  • packageVersion("sandwich") != "3.1.0" is TRUE (4):
    'test-sandwich-vcovJK.R:7:3', 'test-sandwich-vcovJK.R:188:3',
    'test-sandwich-vcovJK.R:368:3', 'test-sandwich-vcovJK.R:561:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-r-vs-stata.R:215:3'): test against stata - leverage, fixef absorb ──
  round(max(unlist(summclust_res$leverage_g)), 6) (`actual`) not equal to 20.011074 (`expected`).
  
    `actual`: 19.0
  `expected`: 20.0
  ── Failure ('test-r-vs-stata.R:221:3'): test against stata - leverage, fixef absorb ──
  round(mean(unlist(summclust_res$leverage_g)), 6) (`actual`) not equal to 5.333333 (`expected`).
  
    `actual`: 5.17
  `expected`: 5.33
  ── Failure ('test-r-vs-stata.R:269:3'): test against stata - leverage, fixef absorb ──
  round(summclust_res$coef_var_leverage_g, 6) (`actual`) not equal to 1.155829 (`expected`).
  
    `actual`: 1.138
  `expected`: 1.156
  
  [ FAIL 3 | WARN 0 | SKIP 6 | PASS 111 ]
  Error: Test failures
  Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/12s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE