Skip to content

Commit 49f3eca

Browse files
committed
lintr tidy up
1 parent e04ab16 commit 49f3eca

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

R/mod_boxplot.R

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -433,14 +433,11 @@ boxplot_server <- function(id,
433433
choices = c(visit_var, trt_var),
434434
selected = visit_var
435435
)
436-
inputs[[BP$ID$X_VAR]] <- reactive({ input[[BP$ID$X_VAR]] })
436+
inputs[[BP$ID$X_VAR]] <- reactive(input[[BP$ID$X_VAR]])
437437
inputs[[BP$ID$PAR_VISIT]] <- val_menu_server(
438438
id = BP$ID$PAR_VISIT,
439-
#label = BP$MSG$LABEL$PAR_VISIT,
440439
label = "Select values for x-axis",
441440
data = v_bm_dataset,
442-
#var = VAR$VIS,
443-
#var = reactive({ input[[BP$ID$X_VAR]] }),
444441
var = inputs[[BP$ID$X_VAR]],
445442
default = default_visit,
446443
multiple = TRUE,
@@ -630,7 +627,6 @@ boxplot_server <- function(id,
630627
)
631628
)
632629

633-
#browser()
634630
bp_subset_data(
635631
cat = l_inputs[[BP$ID$PAR]][["cat"]],
636632
par = l_inputs[[BP$ID$PAR]][["par"]],
@@ -1167,8 +1163,6 @@ bp_subset_data <- function(cat,
11671163

11681164
labels <- get_lbls(joint_data)
11691165

1170-
#browser()
1171-
11721166
# Relevel biomarker factors but groups remain untouched
11731167
if (!isTRUE(attr(bm_fragment, "parameter_renamed"))) {
11741168
joint_data[[CNT$PAR]] <- factor(joint_data[[CNT$PAR]], levels = par)
@@ -1238,7 +1232,6 @@ boxplot_chart <- function(ds, violin, show_points, log_project_y, title_data = N
12381232

12391233
# Define aes
12401234

1241-
#browser()
12421235
CNT$MAIN_GROUP <- "visit" # TEMP!!
12431236
is_main_grouped <- TRUE # TEMP!!
12441237

0 commit comments

Comments
 (0)