Skip to content

Commit f7b6c2c

Browse files
committed
cleanup
fix defaults
1 parent f8b884f commit f7b6c2c

21 files changed

+6
-8255
lines changed

DESCRIPTION

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Depends:
3131
Imports:
3232
bslib (>= 0.8.0),
3333
checkmate (>= 2.1.0),
34-
colorspace,
3534
colourpicker (>= 1.3.0),
3635
dplyr (>= 1.0.5),
3736
DT (>= 0.13),
@@ -42,20 +41,14 @@ Imports:
4241
ggpp (>= 0.5.8-1),
4342
ggrepel (>= 0.9.6),
4443
goftest (>= 1.2-3),
45-
graphics,
46-
grDevices,
4744
grid,
4845
gridExtra (>= 2.3),
49-
htmltools,
5046
htmlwidgets (>= 1.6.4),
5147
jsonlite (>= 1.8.9),
5248
lattice (>= 0.18-4),
5349
lifecycle (>= 0.2.0),
5450
MASS (>= 7.3-60),
55-
plotly,
56-
reactable,
57-
rlang (>= 1.0.0),
58-
rmarkdown (>= 2.23),
51+
rlang,
5952
rtables (>= 0.6.11),
6053
scales (>= 1.3.0),
6154
shinyjs (>= 2.1.0),

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export(tm_g_scatterplotmatrix)
4242
export(tm_missing_data)
4343
export(tm_outliers)
4444
export(tm_t_crosstable)
45-
export(tm_t_reactables)
4645
export(tm_variable_browser)
4746
import(ggplot2)
4847
import(shiny)

R/module_colur_picker.R

Lines changed: 0 additions & 128 deletions
This file was deleted.

R/tm_g_scatterplot_picks.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,15 @@ tm_g_scatterplot.picks <- function(label = "Scatterplot",
3232
teal.transform::datasets(),
3333
teal.transform::variables(
3434
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
35-
selected = NULL,
36-
multiple = TRUE
35+
selected = NULL
3736
),
3837
teal.transform::values()
3938
),
4039
col_facet = teal.transform::picks(
4140
teal.transform::datasets(),
4241
teal.transform::variables(
4342
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
44-
selected = NULL,
45-
multiple = TRUE
43+
selected = NULL
4644
),
4745
teal.transform::values()
4846
),

R/tm_t_crosstable_picks.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tm_t_crosstable.picks <- function(label = "Cross Table",
1212
teal.transform::datasets(),
1313
teal.transform::variables(
1414
choices = teal.transform::is_categorical(min.len = 2, max.len = 10),
15-
selected = 2L, multiple = TRUE, ordered = TRUE
15+
selected = 2L, ordered = TRUE
1616
),
1717
teal.transform::values()
1818
),
@@ -147,7 +147,7 @@ srv_t_crosstable.picks <- function(id, data, label, x, y, remove_zero_columns, b
147147
selectors$y()
148148
},
149149
handlerExpr = {
150-
if (identical(selectors$x()$datasets$selected, selectors$x()$datasets$selected)) {
150+
if (identical(selectors$x()$datasets$selected, selectors$y()$datasets$selected)) {
151151
shinyjs::hide("join_fun")
152152
} else {
153153
shinyjs::show("join_fun")
@@ -160,7 +160,7 @@ srv_t_crosstable.picks <- function(id, data, label, x, y, remove_zero_columns, b
160160
data = validated_q,
161161
selectors = selectors,
162162
output_name = "anl",
163-
join_fun = input$join_fun # todo: make reactive
163+
join_fun = isolate(input$join_fun) # todo: make reactive
164164
)
165165

166166
output_q <- reactive({

0 commit comments

Comments
 (0)