From a1f8d34cdd9e563d079e98cf7dd5978907f5ddc8 Mon Sep 17 00:00:00 2001 From: Claus Wilke Date: Tue, 30 Jun 2015 14:09:12 -0500 Subject: [PATCH] Fix for R CMD check --- R/draw.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/draw.R b/R/draw.R index 84aeb2e..a59ffba 100644 --- a/R/draw.R +++ b/R/draw.R @@ -9,7 +9,7 @@ ggplot_to_gtable <- function(plot) if (methods::is(plot, "ggplot")){ ggplot2::ggplotGrob(plot) } - else if (is(plot, "gtable")){ + else if (methods::is(plot, "gtable")){ plot } else{