From: Gregor G. <gre...@bf...> - 2007-05-14 08:28:12
|
Uwe Ligges wrote: ... >> You mean that package R2WinBUGS would hold definitions for S-PLUS >> specific functions? > > It already does hold S-PLUS specific functions, thanks to Dawn. But this > leads to warnings in the R checks on CRAN, because codetools does not > know that code in if(!is.R()){HERE} should not be inspected. The > above idea is some dirty trick to calm codetools down ... Aha. Now I get it. Your solution is possible. I guess that there will be more packages with the same problem. Maybe you could ask maintainer of codetools about a more general approach? Gregor |