@@ -577,7 +577,7 @@ getGeneric <-
577577 i <- match(newpkg , names(prev ))
578578 if (! is.na(i ))
579579 prev [[i ]] <- NULL
580- else # we might warn about unchaching more than once
580+ else # we might warn about uncaching more than once
581581 return ()
582582 if (length(prev ) == 0L )
583583 return (remove(list = name , envir = table ))
@@ -1430,7 +1430,7 @@ metaNameUndo <- function(strings, prefix, searchForm = FALSE)
14301430
14311431.identC <- function (c1 = NULL , c2 = NULL )
14321432{
1433- # # are the two objects identical class or genric function string names?
1433+ # # are the two objects identical class or generic function string names?
14341434 .Call(C_R_identC , c1 , c2 )
14351435}
14361436
@@ -1451,7 +1451,7 @@ matchDefaults <- function(method, generic)
14511451 garg <- gargs [[arg ]]
14521452 if (missing(marg ) && ! missing(garg )) {
14531453 changes <- TRUE
1454- margs [arg ] <- gargs [arg ] # NOT [[]], which woud fail for NULL element
1454+ margs [arg ] <- gargs [arg ] # NOT [[]], which would fail for NULL element
14551455 }
14561456 }
14571457 if (changes )
@@ -1712,7 +1712,7 @@ utils::globalVariables(c(".MTable", ".AllMTable", ".dotsCall"))
17121712
17131713if (FALSE ) {
17141714# # Defined but not currently used:
1715- # # utilitity to test well-defined classes in signature,
1715+ # # utility to test well-defined classes in signature,
17161716# # for setMethod(), setAs() [etc.?], the result to be
17171717# # assigned in package where=
17181718# # Returns a list of signature, messages and level of error
0 commit comments