Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' - `summary_plot` (`grob` created with [ggplot2::ggplotGrob()])
#' - `combination_plot` (`grob` created with [ggplot2::ggplotGrob()])
#' - `by_subject_plot` (`ggplot2`)
#' - `table` (`listing_df` created with [rlistings::as_listing()])
#' - `table` (`datatable` created with [DT::datatable()])
#'
#' A Decorator is applied to the specific output using a named list of `teal_transform_module` objects.
#' The name of this list corresponds to the name of the output to which the decorator is applied.
Expand Down Expand Up @@ -1154,7 +1154,7 @@ srv_missing_data <- function(id,
)
}

within(qenv, table <- rlistings::as_listing(summary_data))
within(qenv, table <- DT::datatable(summary_data))
})

by_subject_plot_q <- reactive({
Expand Down Expand Up @@ -1331,7 +1331,7 @@ srv_missing_data <- function(id,
options = list(language = list(zeroRecords = "No variable selected."), pageLength = input$levels_table_rows)
)
} else {
DT::datatable(decorated_summary_table_q()[["summary_data"]])
decorated_summary_table_q()[["table"]]
}
})

Expand Down
2 changes: 1 addition & 1 deletion man/tm_missing_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading