Skip to content
Prev 61682 / 63424 Next

codetools wrongly complains about lazy evaluation in S4 methods

Oh but I see now that you've already tried this in your R/AllGenerics.R, 
sorry for missing that, but that you worry about the following message 
being disruptive on CRAN:

 ??? The following object is masked from 'package:base':

 ??????? qr.X

Why would that be? As long as you only define methods for objects that 
**you** control everything is fine. In other words you're not allowed to 
define a method for "qr" objects because that method would override 
base::qr.X(). But the generic itself and the method that you define for 
your objects don't override anything so should not disrupt anything.

H.
On 6/15/23 13:51, Herv? Pag?s wrote: