You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying initial filters, enumerating factor levels in a non-alphabetical order causes the app to change the filter state, which results in filter state history before the user changes the filter.
library(teal)
filter <- teal_slices(
teal_slice("i", "Species", selected = c("virginica", "versicolor"))
)
data <- teal_data() |> within({
i <- iris
m <- mtcars
f <- faithful
})
app <- init(data, example_module(), filter)
runApp(app)
What happened?
When specifying initial filters, enumerating factor levels in a non-alphabetical order causes the app to change the filter state, which results in filter state history before the user changes the filter.
After changing
filter
tosessionInfo()
No response
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: