Skip to content

Commit 21e6477

Browse files
committed
chore: remove explicit return
1 parent a61d664 commit 21e6477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-shinytest2-tm_t_crosstable.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ app_driver_tm_t_crosstable <- function() {
1010
label = "Select variable:",
1111
choices = teal.transform::variable_choices(data[["ADSL"]], subset = function(data) {
1212
idx <- !vapply(data, inherits, logical(1), c("Date", "POSIXct", "POSIXlt"))
13-
return(names(data)[idx])
13+
names(data)[idx]
1414
}),
1515
selected = "COUNTRY",
1616
multiple = TRUE,
@@ -24,7 +24,7 @@ app_driver_tm_t_crosstable <- function() {
2424
label = "Select variable:",
2525
choices = teal.transform::variable_choices(data[["ADSL"]], subset = function(data) {
2626
idx <- vapply(data, is.factor, logical(1))
27-
return(names(data)[idx])
27+
names(data)[idx]
2828
}),
2929
selected = "SEX",
3030
multiple = FALSE,

0 commit comments

Comments
 (0)