[R] Error when checking a package.

Jim Lemon jim at bitwrit.com.au
Tue Mar 30 07:59:01 CEST 2010


On 03/30/2010 04:39 PM, Dong H. Oh wrote:
> ...
> * checking R code for possible problems ... NOTE
> Found possibly global 'T' or 'F' in the following function:
>    ar.dual.dea

> 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

Hi Dong-hyun,
It looks like the R core team is getting serious about the TRUE/FALSE 
business. I would suggest that you replace all occurrences of "T" or "F" 
in your code with "TRUE" and "FALSE" respectively and see what happens.

You might also want to delete the \seealso section in ar.dual.dea

Jim



More information about the R-help mailing list