* using log directory 'd:/Rcompile/CRANpkg/local/2.4/psych.Rcheck' * using R version 2.4.1 (2006-12-18) * checking for file 'psych/DESCRIPTION' ... OK * this is package 'psych' version '1.0-25' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'psych' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for syntax errors ... OK * checking R files for non-ASCII characters ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the name space can be loaded with stated dependencies ... 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 cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * creating psych-Ex.R ... OK * checking examples ... ERROR Running examples in 'psych-Ex.R' failed. The error most likely occurred in: > ### * alpha.scale > > flush(stderr()); flush(stdout()) > > ### Name: alpha.scale > ### Title: Cronbach alpha for a scale > ### Aliases: alpha.scale > ### Keywords: models multivariate > > ### ** Examples > > > y <- attitude #from the datasets package > x <- rowSums(y) #find the sum of the seven attitudes > alpha.scale(x,y) [1] 0.8431428 > #[1] 0.8431428 > #compare with standardized alpha: > st.alpha <- cluster.cor(rep(1,7),cor(attitude),digits=4) > st.alpha $cor [,1] [1,] 1 $sd [1] 4.993 $corrected [,1] [1,] 0.8391 $size [1] 7 > #compare with score.items > si <- score.items(rep(1,7), attitude,digits=3) Error in miss[, 2] : incorrect number of dimensions Execution halted