-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] attr(data, "code") is not reactive #722
Comments
In my opinion data with preprocessing code which is static, should be independent of FilterPanel. We should think about passing the data as unfiltered one to module, and the filter_panel_api (available in the module) will be filtering this data and returning the needed expr for the quosure. # Sth like
tm_x_srv <- function(data[unfiltered], filter_panel_api) {
data_filtered <- filter_panel_api$apply_filtering(data)
quosure <- new_quosure(data) %>% eval_code(filter_panel_api$get_expr())
} regarding "so you have a separate copy of the data for each module", we could reuse already available data sth like |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
After installing the packages properly, I am able to reproduce it. |
Our list of datasets with "code" attribute is buggy. Each dataset is reactive but code don't change when the data changes. It means that filter-panel code changes are not reflected in the "Show R code".
Possible solutions:
reactive()
The text was updated successfully, but these errors were encountered: