Skip to content

Commit 5cf93d7

Browse files
committed
remove values() after variables(multiple = TRUE)
1 parent f7b6c2c commit 5cf93d7

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

R/tm_a_regression.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ tm_a_regression <- function(label = "Regression Analysis",
148148
choices = is.numeric,
149149
selected = tidyselect::last_col(),
150150
multiple = TRUE
151-
),
152-
teal.transform::values()
151+
)
153152
),
154153
response,
155154
plot_height = c(600, 200, 2000),

R/tm_g_scatterplot_picks.R

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@ tm_g_scatterplot.picks <- function(label = "Scatterplot",
1616
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
1717
selected = NULL,
1818
multiple = TRUE
19-
),
20-
teal.transform::values()
19+
)
2120
),
2221
size_by = teal.transform::picks(
2322
teal.transform::datasets(),
2423
teal.transform::variables(
25-
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
24+
choices = is.numeric,
2625
selected = NULL,
2726
multiple = TRUE
28-
),
29-
teal.transform::values()
27+
)
3028
),
3129
row_facet = teal.transform::picks(
3230
teal.transform::datasets(),

R/tm_t_crosstable.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ tm_t_crosstable <- function(label = "Cross Table",
169169
teal.transform::variables(
170170
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
171171
selected = 1L, multiple = TRUE, ordered = TRUE
172-
),
173-
teal.transform::values()
172+
)
174173
),
175174
y,
176175
show_percentage = TRUE,

R/tm_t_crosstable_picks.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ tm_t_crosstable.picks <- function(label = "Cross Table",
55
teal.transform::variables(
66
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
77
selected = 1L, multiple = TRUE, ordered = TRUE
8-
),
9-
teal.transform::values()
8+
)
109
),
1110
y = teal.transform::picks(
1211
teal.transform::datasets(),

man/tm_a_regression.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_t_crosstable.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)