From 1c6b5957ced8de6979858c4a53c1f46be8b40450 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Fri, 27 Jun 2025 14:50:51 +0200 Subject: [PATCH] method consistency --- R/helpers_ggplot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/helpers_ggplot.R b/R/helpers_ggplot.R index 54f7011..cc0848f 100644 --- a/R/helpers_ggplot.R +++ b/R/helpers_ggplot.R @@ -161,7 +161,7 @@ annotate_conditions_with_panel <- function(plot, panel_name) { #' @importFrom ggplot2 ggplot_build #' @export -ggplot_build.phylepic_ggplot <- function(plot) { +ggplot_build.phylepic_ggplot <- function(plot, ...) { panel_name <- attr(plot, "phylepic.panel") build <- withCallingHandlers( NextMethod(generic = "ggplot_build", object = plot),