- using R Under development (unstable) (2025-12-07 r89119)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.6 (2)
Debian flang version 21.1.6 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘semTools/DESCRIPTION’ ... OK
- this is package ‘semTools’ version ‘0.5-7’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/4s] OK
- 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 ‘semTools’ 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [2s/3s] 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 ... [92s/116s] OK
- checking Rd files ... [3s/5s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [16s/21s] ERROR
Running examples in ‘semTools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: chisqSmallN
> ### Title: Small-_N_ correction for chi^2 test statistic
> ### Aliases: chisqSmallN
>
> ### ** Examples
>
>
> HS.model <- '
+ visual =~ x1 + b1*x2 + x3
+ textual =~ x4 + b2*x5 + x6
+ speed =~ x7 + b3*x8 + x9
+ '
> fit1 <- cfa(HS.model, data = HolzingerSwineford1939[1:50,])
Warning: lavaan->lav_object_post_check():
some estimated ov variances are negative
> ## test a single model (implicitly compared to a saturated model)
> chisqSmallN(fit1)
Warning: lavaan->class(fit0)():
Unknown argument ‘omit.imps’ for ‘fitMeasures’
Warning: lavaan->class(fit0)():
Unknown argument ‘asymptotic’ for ‘fitMeasures’
$standard
chisq df pvalue
55.138 24.000 0.000
$swain
chisq df pvalue smallN.factor
50.704 24.000 0.001 0.920
$yuan.2015
chisq df pvalue smallN.factor
48.791 24.000 0.002 0.885
>
> ## fit a more constrained model
> fit0 <- cfa(HS.model, data = HolzingerSwineford1939[1:50,],
+ orthogonal = TRUE)
Warning: lavaan->lav_object_post_check():
some estimated ov variances are negative
> ## compare 2 models
> chisqSmallN(fit1, fit0)
Warning: lavaan->class(fit0)():
Unknown argument ‘omit.imps’ for ‘fitMeasures’
Warning: lavaan->class(fit1)():
Unknown argument ‘omit.imps’ for ‘fitMeasures’
Warning in chisqSmallN(fit1, fit0) :
Small-N corrections developed for single models, not for model comparison. Experimentally applying correction to chi-squared difference statistic, which might be invalid.
Warning: lavaan->FUN():
Unknown argument ‘pool.robust’ for ‘fitMeasures’
Warning: lavaan->FUN():
Unknown argument ‘pool.method’ for ‘fitMeasures’
Warning: lavaan->FUN():
Unknown argument ‘pool.robust’ for ‘fitMeasures’
Warning: lavaan->FUN():
Unknown argument ‘pool.method’ for ‘fitMeasures’
Error in chisqSmallN(fit1, fit0) :
Model comparison failed. Try using lavTestLRT() to investigate why.
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
auxiliary 4.707 0.04 6.283
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] OK
- checking PDF version of manual ... [16s/23s] OK
- checking HTML version of manual ... [17s/23s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR