Skip to content

Commit

Permalink
Fix for R CMD check
Browse files Browse the repository at this point in the history
  • Loading branch information
clauswilke committed Jun 30, 2015
1 parent 99a289c commit a1f8d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/draw.R
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit a1f8d34

Please sign in to comment.