@@ -294,7 +294,6 @@ ui_outliers <- function(id, ...) {
294294 open = TRUE ,
295295 bslib :: accordion_panel(
296296 title = " Method parameters" ,
297- collapsed = FALSE ,
298297 teal.widgets :: optionalSelectInput(
299298 inputId = ns(" method" ),
300299 label = " Method" ,
@@ -362,14 +361,17 @@ ui_outliers <- function(id, ...) {
362361 decorators = select_decorators(args $ decorators , " cumulative_plot" )
363362 )
364363 ),
365- bslib :: accordion_panel(
366- title = " Plot settings" ,
367- selectInput(
368- inputId = ns(" ggtheme" ),
369- label = " Theme (by ggplot):" ,
370- choices = ggplot_themes ,
371- selected = args $ ggtheme ,
372- multiple = FALSE
364+ bslib :: accordion(
365+ open = TRUE ,
366+ bslib :: accordion_panel(
367+ title = " Plot settings" ,
368+ selectInput(
369+ inputId = ns(" ggtheme" ),
370+ label = " Theme (by ggplot):" ,
371+ choices = ggplot_themes ,
372+ selected = args $ ggtheme ,
373+ multiple = FALSE
374+ )
373375 )
374376 )
375377 ),
@@ -738,10 +740,11 @@ srv_outliers <- function(id, data, outlier_var,
738740 categorical_var_name = as.name(categorical_var )
739741 )
740742 )
741- ) | > within({
742- table <- rtables :: df_to_tt(summary_data )
743- table
744- })
743+ ) | >
744+ within({
745+ table <- rtables :: df_to_tt(summary_data )
746+ table
747+ })
745748 } else {
746749 msg <- " No categorical variable selected, summary table cannot be created."
747750 showNotification(msg ,
0 commit comments