* using log directory 'd:/Rcompile/CRANpkg/local/2.4/pscl.Rcheck' * using R version 2.4.1 (2006-12-18) * checking for file 'pscl/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pscl' version '0.92' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'pscl' 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 * checking for CRLF line endings in C/C++/Fortran sources/headers ... OK * checking for portable use of $BLAS_LIBS ... OK * creating pscl-Ex.R ... OK * checking examples ... ERROR Running examples in 'pscl-Ex.R' failed. The error most likely occurred in: > ### * admit > > flush(stderr()); flush(stdout()) > > ### Name: admit > ### Title: Applications to a Political Science PhD Program > ### Aliases: admit > ### Keywords: datasets > > ### ** Examples > > data(admit) > summary(admit) score gre.quant gre.verbal ap pt 1:23 Min. :330.0 Min. :290.0 Min. :0.0000 Min. :0.00000 2:24 1st Qu.:622.5 1st Qu.:510.0 1st Qu.:0.0000 1st Qu.:0.00000 3: 2 Median :720.0 Median :620.0 Median :0.0000 Median :0.00000 4:37 Mean :674.4 Mean :593.9 Mean :0.1132 Mean :0.07547 5:20 3rd Qu.:750.0 3rd Qu.:680.0 3rd Qu.:0.0000 3rd Qu.:0.00000 Max. :800.0 Max. :770.0 Max. :1.0000 Max. :1.00000 female Min. :0.0000 1st Qu.:0.0000 Median :0.0000 Mean :0.3302 3rd Qu.:1.0000 Max. :1.0000 > require(MASS) [1] TRUE > ## ordered probit model > op1 <- polr(score ~ gre.quant + gre.verbal + ap + pt + female, + Hess=TRUE, + data=admit, + method="probit") Error in model.frame.default(formula = score ~ gre.quant + gre.verbal + : negative length vectors are not allowed Execution halted