Skip to content

Commit a330b00

Browse files
committed
lintr
1 parent 339d76e commit a330b00

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

R/tm_missing_data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,9 +1375,9 @@ srv_missing_data <- function(id,
13751375

13761376
decorated_summary_plot_dims_q <- set_chunk_dims(pws1, decorated_summary_plot_q)
13771377

1378-
decorated_combination_plot_dims_q <- set_chunk_dims(pws2, decorated_combination_plot_q)
1378+
decorated_combination_plot_dims_q <- set_chunk_dims(pws2, decorated_combination_plot_q) # nolint: variable_name.
13791379

1380-
decorated_by_subject_plot_dims_q <- set_chunk_dims(pws3, decorated_by_subject_plot_q)
1380+
decorated_by_subject_plot_dims_q <- set_chunk_dims(pws3, decorated_by_subject_plot_q) # nolint: variable_name.
13811381

13821382
decorated_final_q <- reactive({
13831383
sum_type <- req(input$summary_type)

R/utils.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,10 @@ set_chunk_attrs <- function(teal_card,
398398
current_ix <- length(teal_card) + 1 - ix
399399
if (!inherits(teal_card[[current_ix]], "chunk_output")) {
400400
if (!quiet) {
401-
warning("The ", ix, " to last element of the `teal_card` is not a `chunk_output` object. Skipping any further modifications.")
401+
warning(
402+
"The ", ix,
403+
" to last element of the `teal_card` is not a `chunk_output` object. Skipping any further modifications."
404+
)
402405
}
403406
return(teal_card)
404407
}

0 commit comments

Comments
 (0)