Skip to content

Commit 7f663d3

Browse files
committed
S3 method consistency
1 parent ee608ff commit 7f663d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/visualize.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ get_viz_bins <- function(data) {
749749

750750
#' @method ggplot_add infer_layer
751751
#' @export
752-
ggplot_add.infer_layer <- function(object, plot, object_name) {
752+
ggplot_add.infer_layer <- function(object, plot, ...) {
753753
# a method for the `+` operator for infer objects.
754754
# - "object to add" (arguments to the RHS of the `+`)
755755
# - plot is the existing plot (on the LHS of the `+`)

0 commit comments

Comments
 (0)