From d03611be1fd96c004ef3533c5bd4146ad6ce4a4e Mon Sep 17 00:00:00 2001 From: ayogasekaram Date: Mon, 18 Nov 2024 16:00:07 +0000 Subject: [PATCH] correct brackets --- R/tm_g_lineplot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tm_g_lineplot.R b/R/tm_g_lineplot.R index de4007b4b..1bbdf394a 100644 --- a/R/tm_g_lineplot.R +++ b/R/tm_g_lineplot.R @@ -314,7 +314,7 @@ tm_g_lineplot <- function(label, } # Now handle 'parentname' calculation based on 'group_var' - parentname <- if (is.null(parentname) { + parentname <- if (is.null(parentname)) { ifelse( inherits(group_var, "data_extract_spec"), teal.transform::datanames_input(group_var),