- using R Under development (unstable) (2025-12-10 r89133)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.7
flang version 21.1.7
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘semTools/DESCRIPTION’ ... OK
- this is package ‘semTools’ version ‘0.5-7’
- 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 ‘semTools’ can be installed ... [58s/151s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [4s/11s] OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... [4s/13s] 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 ... [165s/463s] OK
- checking Rd files ... [5s/14s] 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [28s/70s] ERROR
Running examples in ‘semTools-Ex.R’ failed
The error most likely occurred in:
> ### 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [7s/22s] OK
- checking PDF version of manual ... [26s/72s] OK
- checking HTML version of manual ... [31s/101s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR