Mismatches for methods registered for non-generic:
? Mon, 27 May 2024 10:52:26 +0000 "Koenker, Roger W" <rkoenker at illinois.edu> ?????:
that have been fine until now and on my fresh R version 4.4.0 (2024-04-24) are still ok with R CMD check ?as-cran
This extra check requires the environment variable _R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_ to be set to TRUE to show the issues.
but CRAN checking reveals, e.g. Check: S3 generic/method consistency, Result: NOTE Mismatches for methods registered for non-generic: as: function(object, Class, strict, ext) as.matrix.coo: function(x, nrow, ncol, eps, ?) which I interpret as regarding my generics as just S3 methods for the non-generic ?as?.
There are calls to S3method("as", ...) and S3method("is", ...) at the
end of the NAMESPACE for the current CRAN version of SparseM. If I
comment them out, the package passes R CMD check --as-cran without the
NOTE and seemingly with no extra problems.
Best regards, Ivan