Skip to content

Commit

Permalink
Merge branch '1187_decorate_output@main' of https://github.com/insigh…
Browse files Browse the repository at this point in the history
…tsengineering/teal into 1187_decorate_output@main
  • Loading branch information
m7pr committed Nov 18, 2024
2 parents 29ea4f1 + d7c1f7e commit cdf8797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/dummy_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ example_module <- function(label = "example teal module",
})

table_data <- reactive({
req(input$dataname)
within(data(),
{
object <- dataname
Expand All @@ -57,7 +58,7 @@ example_module <- function(label = "example teal module",
table_data_decorated <- srv_teal_transform_data("decorate", data = table_data, transformators = decorators)

output$text <- renderPrint({
req(table_data_decorated)
req(table_data_decorated())
table_data_decorated()[["object"]]
})

Expand Down
2 changes: 1 addition & 1 deletion R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ format.teal_module <- function(
if ("transformators" %in% what) {
output <- paste0(
output,
content_prefix, "L- ", crayon::magenta("transformators : "), transformators, "\n"
content_prefix, "L- ", crayon::magenta("Transformators : "), transformators, "\n"
)
}

Expand Down

0 comments on commit cdf8797

Please sign in to comment.