Skip to content

Commit f27ae68

Browse files
committed
solve lintr findings
1 parent bac40d5 commit f27ae68

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

R/helper_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ generate_plot <- function(
330330
)
331331
)
332332

333-
plotly::event_register(plt_obj, 'plotly_click')
333+
plotly::event_register(plt_obj, "plotly_click")
334334

335335
return(plt_obj)
336336
}

R/mod_edish.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ edish_server <- function(
296296

297297
# Return subj_id for communication with dv.papo
298298
return(
299-
list(subj_id = shiny::reactive({plotly::event_data("plotly_click", source = "plot")$key}))
299+
list(subj_id = shiny::reactive({
300+
plotly::event_data("plotly_click", source = "plot")$key
301+
}))
300302
)
301303

302304
})

0 commit comments

Comments
 (0)