Skip to content

Commit

Permalink
revert signature change causing check cran warning
Browse files Browse the repository at this point in the history
* checking S3 generic/method consistency ... WARNING
print:
  function(x, ...)
print.summary.GeneralizedLinearRegressionModel:
  function(x)

print:
  function(x, ...)
print.summary.GeneralizedLinearRegressionModel:
  function(x)
  • Loading branch information
felixcheung committed Aug 21, 2016
1 parent 30815e0 commit b42e10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pkg/R/mllib.R
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ setMethod("summary", signature(object = "GeneralizedLinearRegressionModel"),
#' @param x summary object of fitted generalized linear model returned by \code{summary} function
#' @export
#' @note print.summary.GeneralizedLinearRegressionModel since 2.0.0
print.summary.GeneralizedLinearRegressionModel <- function(x) {
print.summary.GeneralizedLinearRegressionModel <- function(x, ...) {
if (x$is.loaded) {
cat("\nSaved-loaded model does not support output 'Deviance Residuals'.\n")
} else {
Expand Down

0 comments on commit b42e10c

Please sign in to comment.