From: Uwe L. <li...@st...> - 2007-05-14 09:14:43
|
Luke, codetools are extremly useful and already revealed several bugs in the packages I am maintaining. Simply outstanding! There is a little problem when one tries to maintain a package for both CRAN and CSAN. E.g., R2WinBUGS has been ported to S-PLUS by Insightful and we try to use the same package for both R and S-PLUS. Now, your codetools are claiming that objects and functions are missing for parts of the code that are only executed in S-PLUS. Therefore, it would be nice if the codetools could ignore parts of the code in if(!is.R()){ HERE } or if(is.R()){ ...... } else { HERE } I'm not even sure if it is really desirable to ignore the HERE parts. At least, when more R packages will be ported to S-PLUS, we will see a bunch of warnings in the daily check results on CRAN "just" caused by the reason mentioned above. Best, Uwe |