Dear useRs,
I am trying to build my package (nonpareff) which deals with some models of
data envelopment analysis.
The building worked well, but checking complains when it tests examples.
Zipped nonparaeff.Rcheck is attached.
Following is the log.
---------------------------------------------
arecibo:tmp arecibo$ R CMD build nonparaeff/
* checking for file 'nonparaeff/DESCRIPTION' ... OK
* preparing 'nonparaeff':
* checking DESCRIPTION meta-information ... OK
* checking whether 'INDEX' is up-to-date ... NO
* use '--force' to overwrite the existing 'INDEX'
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'nonparaeff_0.5-1.tar.gz'
arecibo:tmp arecibo$ R CMD check nonparaeff_0.5-1.tar.gz
* checking for working pdflatex ... OK
* using log directory '/Users/arecibo/tmp/nonparaeff.Rcheck'
* using R version 2.10.0 (2009-10-26)
* using session charset: UTF-8
* checking for file 'nonparaeff/DESCRIPTION' ... OK
* this is package 'nonparaeff' version '0.5-1'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking for executable files ... OK
* checking whether package 'nonparaeff' can be installed ... WARNING
Found the following significant warnings:
Warning: package 'geometry' was built under R version 2.10.1
See '/Users/arecibo/tmp/nonparaeff.Rcheck/00install.out' for details.
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level 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 for unstated 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 ... NOTE
Found possibly global 'T' or 'F' in the following function:
ar.dual.dea
* checking Rd files ... NOTE
prepare_Rd: ar.dual.dea.Rd:51: Dropping empty section \seealso
* 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 examples ... ERROR
Running examples in 'nonparaeff-Ex.R' failed.
The error most likely occurred in:
> ### * ar.dual.dea
>
> flush(stderr()); flush(stdout())
>
> ### Name: ar.dual.dea
> ### Title: Assurance Region Data Envelopment Aanlysis (AR-DEA)
> ### Aliases: ar.dual.dea
> ### Keywords: Data Envelopment Analysis
>
> ### ** Examples
>
>
> ## AR constraint of 0.25 <= v2/v1 <= 1.
> library(Hmisc)
> library(lpSolve)
> ar.dat <- data.frame(y = c(1, 1, 1, 1, 1, 1),
+ x1 = c(2, 3, 6, 3, 6, 6),
+ x2 = c(5, 3, 1, 8, 4, 2))> (re <-
+ ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l + matrix(c(0,
0, 0.25, -1, -1, 1), nrow = 2, ncol = 3), ar.r = c(0, 0),
+ ar.dir = c("<=", "<=")))
Error in ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l
matrix(c(0, :
F used instead of FALSE
Execution halted
---------------------------------------------------
Following is sessionInfor()
----------------------------------------------------
R> sessionInfo()
R version 2.10.0 (2009-10-26)
x86_64-apple-darwin9.8.0
locale:
[1] C/UTF-8/C/C/C/C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lmtest_0.9-26 zoo_1.5-8 gdata_2.6.1 lpSolve_5.6.4 xtable_1.5-5
[6] MASS_7.3-3
loaded via a namespace (and not attached):
[1] grid_2.10.0 gtools_2.6.1 lattice_0.17-26
--------------------------------------------------------
Thank you for your time and consideration.
Best regards,
Dong-hyun Oh