Skip to content

Commit

Permalink
add prefix to teal.code::get_code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Chlebowski committed Nov 15, 2023
1 parent 38d11d3 commit dcbcc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/module_teal.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ srv_teal <- function(id, modules, teal_data_rv, filter = teal_slices()) {
datasets_singleton <- teal_data_to_filtered_data(teal_data_rv())

# Piggy-back entire pre-processing code so that filtering code can be appended later.
attr(datasets_singleton, "preprocessing_code") <- get_code(teal_data_rv())
attr(datasets_singleton, "preprocessing_code") <- teal.code::get_code(teal_data_rv())

# Singleton starts with only global filters active.
filter_global <- Filter(function(x) x$id %in% attr(filter, "mapping")$global_filters, filter)
Expand Down

0 comments on commit dcbcc30

Please sign in to comment.