Skip to content

Commit 451cbc4

Browse files
llrs-rochem7pr
andauthored
Apply suggestions from code review
Co-authored-by: Marcin <[email protected]> Signed-off-by: Lluís Revilla <[email protected]>
1 parent e68c10a commit 451cbc4

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

R/tm_a_pca.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ srv_a_pca <- function(id, data, reporter, filter_panel_api, dat, plot_height, pl
434434
selector_list = selector_list,
435435
datasets = data
436436
)
437-
qenv <- teal.code::eval_code(data(), 'library("ggplot2")')
437+
qenv <- teal.code::eval_code(data(), 'library("ggplot2");library("dplyr");library("tidyr")') # nolint quotes
438438
anl_merged_q <- reactive({
439439
req(anl_merged_input())
440440
qenv %>%

R/tm_a_regression.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ srv_a_regression <- function(id,
462462

463463
qenv <- teal.code::eval_code(
464464
data(),
465-
"library('ggplot2');"
465+
'library("ggplot2");library("dplyr")' # nolint quotes
466466
)
467467

468468
anl_merged_q <- reactive({

R/tm_data_table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ srv_data_table <- function(id,
320320
teal::validate_has_data(df, min_nrow = 1L, msg = paste("data", dataname, "is empty"))
321321
qenv <- teal.code::eval_code(
322322
data(),
323-
'library("ggplot2");library("dplyr");library("DT")'
323+
'library("dplyr");library("DT")'
324324
)
325325
teal.code::eval_code(
326326
qenv,

R/tm_g_association.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ srv_tm_g_association <- function(id,
344344

345345
qenv <- teal.code::eval_code(
346346
data(),
347-
'library("ggplot2");library("dplyr")'
347+
'library("ggplot2");library("dplyr");library("tern");library("ggmosaic");library("grid")' # nolint quotes
348348
)
349349
anl_merged_q <- reactive({
350350
req(anl_merged_input())

R/tm_g_bivariate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ srv_g_bivariate <- function(id,
549549
)
550550
qenv <- teal.code::eval_code(
551551
data(),
552-
'library("ggplot2");library("dplyr")'
552+
'library("ggplot2");library("dplyr");library("tern");library("ggmosaic");library("grid")' # nolint quotes
553553
)
554554

555555
anl_merged_q <- reactive({

R/tm_g_distribution.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ srv_distribution <- function(id,
541541

542542
qenv <- teal.code::eval_code(
543543
data(),
544-
'library("ggplot2");library("forcats");library("dplyr")'
544+
'library("ggplot2");library("rlistings");library("dplyr")' # nolint quotes
545545
)
546546

547547
anl_merged_q <- reactive({

R/tm_g_response.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ srv_g_response <- function(id,
392392

393393
qenv <- teal.code::eval_code(
394394
data(),
395-
'library("ggplot2");library("dplyr");library("forcats")'
395+
'library("ggplot2");library("dplyr")' # nolint quotes
396396
)
397397

398398
anl_merged_q <- reactive({

R/tm_g_scatterplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ srv_g_scatterplot <- function(id,
586586
datasets = data,
587587
merge_function = "dplyr::inner_join"
588588
)
589-
qenv <- teal.code::eval_code(data(), 'library("ggplot2");library("dplyr")')
589+
qenv <- teal.code::eval_code(data(), 'library("ggplot2");library("dplyr")') # nolint quotes
590590

591591
anl_merged_q <- reactive({
592592
req(anl_merged_input())

R/tm_t_crosstable.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ srv_t_crosstable <- function(id, data, reporter, filter_panel_api, label, x, y,
311311
selector_list = selector_list,
312312
merge_function = merge_function
313313
)
314-
qenv <- teal.code::eval_code(data(), 'library("rtables");')
314+
qenv <- teal.code::eval_code(data(), 'library("rtables");library("tern");library("dplyr")') # nolint quotes
315315
anl_merged_q <- reactive({
316316
req(anl_merged_input())
317317
qenv %>%

0 commit comments

Comments
 (0)