Skip to content

Commit 00c7e24

Browse files
committed
Merge remote-tracking branch 'origin/main' into redesign_extraction@main
2 parents 53da6a5 + 3fb1021 commit 00c7e24

File tree

7 files changed

+265
-147
lines changed

7 files changed

+265
-147
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: teal.modules.general
33
Title: General Modules for 'teal' Applications
4-
Version: 0.5.1.9010
5-
Date: 2025-10-27
4+
Version: 0.5.1.9012
5+
Date: 2025-10-30
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre")),
88
person("Pawel", "Rucki", , "[email protected]", role = "aut"),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# teal.modules.general 0.5.1.9010
1+
# teal.modules.general 0.5.1.9012
22

33
### Enhancements
44

R/tm_a_pca.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ ui_a_pca.default <- function(id, ...) {
262262
is_single_dataset = is_single_dataset_value
263263
),
264264
bslib::accordion(
265-
open = TRUE,
265+
open = c("Display", "Pre-processing", "Selected plot specific settings"),
266266
bslib::accordion_panel(
267267
title = "Display",
268268
checkboxGroupInput(
@@ -338,7 +338,6 @@ ui_a_pca.default <- function(id, ...) {
338338
),
339339
bslib::accordion_panel(
340340
title = "Plot settings",
341-
collapsed = TRUE,
342341
conditionalPanel(
343342
condition = sprintf(
344343
"input['%s'] == 'Elbow plot' || input['%s'] == 'Eigenvector plot'",

R/tm_outliers.R

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ ui_outliers <- function(id, ...) {
296296
open = TRUE,
297297
bslib::accordion_panel(
298298
title = "Method parameters",
299-
collapsed = FALSE,
300299
teal.widgets::optionalSelectInput(
301300
inputId = ns("method"),
302301
label = "Method",
@@ -364,14 +363,17 @@ ui_outliers <- function(id, ...) {
364363
decorators = select_decorators(args$decorators, "cumulative_plot")
365364
)
366365
),
367-
bslib::accordion_panel(
368-
title = "Plot settings",
369-
selectInput(
370-
inputId = ns("ggtheme"),
371-
label = "Theme (by ggplot):",
372-
choices = ggplot_themes,
373-
selected = args$ggtheme,
374-
multiple = FALSE
366+
bslib::accordion(
367+
open = TRUE,
368+
bslib::accordion_panel(
369+
title = "Plot settings",
370+
selectInput(
371+
inputId = ns("ggtheme"),
372+
label = "Theme (by ggplot):",
373+
choices = ggplot_themes,
374+
selected = args$ggtheme,
375+
multiple = FALSE
376+
)
375377
)
376378
)
377379
),
@@ -740,10 +742,11 @@ srv_outliers <- function(id, data, outlier_var,
740742
categorical_var_name = as.name(categorical_var)
741743
)
742744
)
743-
) |> within({
744-
table <- rtables::df_to_tt(summary_data)
745-
table
746-
})
745+
) |>
746+
within({
747+
table <- rtables::df_to_tt(summary_data)
748+
table
749+
})
747750
} else {
748751
msg <- "No categorical variable selected, summary table cannot be created."
749752
showNotification(msg,

0 commit comments

Comments
 (0)