Skip to content

Commit

Permalink
Raise a shiny silent error when data is NULL (#1487)
Browse files Browse the repository at this point in the history
Closes #1485

---------

Signed-off-by: Vedha Viyash <[email protected]>
Co-authored-by: Dawid Kałędkowski <[email protected]>
  • Loading branch information
vedhav and gogonzo authored Feb 10, 2025
1 parent 66242ad commit b4cde98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/module_transform_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ srv_transform_teal_data <- function(id, data, transformators, modules = NULL, is
})
})

data_out
# Ignoring unwanted reactivity breaks during initialization
reactive({
req(data_out())
})
})
},
x = names(transformators),
Expand Down

0 comments on commit b4cde98

Please sign in to comment.