Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
keep the signature of predict to be same as that in R base
  • Loading branch information
yanboliang committed Nov 17, 2015
commit 3012bfd4f6836f17dea35ffbe28ade6bd6f0ed34
2 changes: 1 addition & 1 deletion R/pkg/R/generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ setGeneric("glm")

#' @rdname predict
#' @export
setGeneric("predict", function(object, newData) { standardGeneric("predict") })
setGeneric("predict", function(object, ...) { standardGeneric("predict") })

#' @rdname rbind
#' @export
Expand Down