From 529b252c8554f754f7032830c6bfb2c89004a81b Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 13 Oct 2023 11:07:06 +0200 Subject: [PATCH] lintr --- R/plot.visualisation_recipe.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/plot.visualisation_recipe.R b/R/plot.visualisation_recipe.R index 293acfeb3..0565c1945 100644 --- a/R/plot.visualisation_recipe.R +++ b/R/plot.visualisation_recipe.R @@ -5,8 +5,7 @@ plot.see_visualisation_recipe <- function(x, ...) { if (!"ggraph" %in% .packages()) { attachNamespace("ggraph") # Needs to be attached } - suppressWarnings(ggraph::ggraph(attributes(x)$data, layout = attributes(x)$layout) + - geoms_from_list(x)) + suppressWarnings(ggraph::ggraph(attributes(x)$data, layout = attributes(x)$layout) + geoms_from_list(x)) } else { suppressWarnings(ggplot2::ggplot(data = attributes(x)$data) + geoms_from_list(x, ...)) }