* using log directory 'd:/Rcompile/CRANpkg/local/3.0/simsem.Rcheck' * using R version 3.0.3 (2014-03-06) * using platform: i386-w64-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'simsem/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'simsem' version '0.5-8' * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'OpenMx' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'simsem' can be installed ... OK * checking installed package size ... OK * checking package 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 R 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 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 ... OK * checking Rd files ... OK * checking Rd metadata ... 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 examples ... ERROR Running examples in 'simsem-Ex.R' failed The error most likely occurred in: > ### Name: SimResult-class > ### Title: Class '"SimResult"': Simulation Result Object > ### Aliases: SimResult-class summary,SimResult-method > ### summaryShort,SimResult-method > ### Keywords: classes > > ### ** Examples > > showClass("SimResult") Class "SimResult" [package "simsem"] Slots: Name: modelType nRep coef se fit Class: character numeric data.frame data.frame data.frame Name: converged paramValue misspecValue popFit FMI1 Class: vector data.frame data.frame data.frame data.frame Name: FMI2 cilower ciupper stdCoef seed Class: data.frame data.frame data.frame data.frame numeric Name: n nobs pmMCAR pmMAR extraOut Class: vector data.frame vector vector list Name: paramOnly timing Class: logical list > loading <- matrix(0, 6, 1) > loading[1:6, 1] <- NA > LY <- bind(loading, 0.7) > RPS <- binds(diag(1)) > RTE <- binds(diag(6)) > CFA.Model <- model(LY = LY, RPS = RPS, RTE = RTE, modelType="CFA") > > # We make the examples running only 5 replications to save time. > # In reality, more replications are needed. > Output <- sim(5, n=500, CFA.Model) Loading required package: parallel Progress: 1 / 5 Error in lav_samplestats_Gamma(X[[g]], meanstructure = meanstructure) : could not find function "anyNA" Progress: 2 / 5 Error in lav_samplestats_Gamma(X[[g]], meanstructure = meanstructure) : could not find function "anyNA" Progress: 3 / 5 Error in lav_samplestats_Gamma(X[[g]], meanstructure = meanstructure) : could not find function "anyNA" Progress: 4 / 5 Error in lav_samplestats_Gamma(X[[g]], meanstructure = meanstructure) : could not find function "anyNA" Progress: 5 / 5 Error in lav_samplestats_Gamma(X[[g]], meanstructure = meanstructure) : could not find function "anyNA" > > # Summary the simulation result > summary(Output) RESULT OBJECT Model Type [1] "cfa" Error in clean(object) : All replications in the result object are not convergent. Thus, the result object cannot be used. Calls: summary -> summary -> .local -> clean Execution halted