search for: requirecachedgenerics

Displaying 4 results from an estimated 4 matches for "requirecachedgenerics".

2011 Feb 15
1
Reference classes and ".requireCachedGenerics"
Dear all, If I load a package which creates reference classes whilst another such package is also loaded, I get a warning about masking of the ".requireCachedGenerics" variable. (FWIW, both packages are lazy-loaded.) Googling this variable name turned up only one previous discussion, which didn't immediately help, except to suggest that it may be related to my defining an S3 method for one or more of the classes. It also pointed me at bits of the R sour...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...cldef, searchWhere) } } } generics <- .getGenerics(where) packages <- attr(generics, "package") if(length(packages) < length(generics)) packages <- rep(packages, length.out = length(generics)) if(attach && exists(".requireCachedGenerics", where, inherits = FALSE)) { others <- get(".requireCachedGenerics", where) generics <- c(generics, others) packages <- c(packages, attr(others, "package")) } ## check for duplicates dups <- duplicated(generics) & duplica...
2011 Apr 13
0
R 2.13.0 is released
...to be solid. (Reported by Jari Oksanen.) ? The str() method for class "POSIXt" now gives sensible output for 0-length input. ? The one- and two-argument complex maths functions failed to warn if NAs were generated (as their numeric analogues do). ? Added .requireCachedGenerics to the dont.mind list for library() to avoid warnings about duplicates. ? $<-.data.frame messed with the class attribute, breaking any S4 subclass. The S4 data.frame class now has its own $<- method, and turns dispatch on for this primitive. ? Map() did not look u...
2011 Apr 13
0
R 2.13.0 is released
...to be solid. (Reported by Jari Oksanen.) ? The str() method for class "POSIXt" now gives sensible output for 0-length input. ? The one- and two-argument complex maths functions failed to warn if NAs were generated (as their numeric analogues do). ? Added .requireCachedGenerics to the dont.mind list for library() to avoid warnings about duplicates. ? $<-.data.frame messed with the class attribute, breaking any S4 subclass. The S4 data.frame class now has its own $<- method, and turns dispatch on for this primitive. ? Map() did not look u...