We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
shiny.tag.function
The behavior of this app should be equivalent whether the selectInput() is wrapped in ReactContext() or not:
selectInput()
ReactContext()
shinyApp( ui = shiny.react:::ReactContext( selectInput("select", "Select", c("Apples", "Bananas")) ), server = function(input, output) {} )
Right now it gives the following error:
Error in FUN(X[[i]], ...) : Expected a recursive structure built of NULLs, lists and dependencies
Let's take a look at deparse(selectInput("select", "Select", c("Apples", "Bananas"))):
deparse(selectInput("select", "Select", c("Apples", "Bananas")))
structure( list( # Omitted for brevity. ), class = "shiny.tag", html_dependencies = list( structure( function() { if (is_shiny_app()) { shiny::registerThemeDependency(func) return(mfunc(get_current_theme())) } mfunc(bs_global_get()) }, class = "shiny.tag.function" # The problem ) ) )
The problem boils down to this: the flattenDeps() function doesn't handle arguments of class shiny.tag.function.
flattenDeps()
The text was updated successfully, but these errors were encountered:
select_group_ui
params
No branches or pull requests
Goal
The behavior of this app should be equivalent whether the
selectInput()
is wrapped inReactContext()
or not:Right now it gives the following error:
Root cause
Let's take a look at
deparse(selectInput("select", "Select", c("Apples", "Bananas")))
:The problem boils down to this: the
flattenDeps()
function doesn't handle arguments of classshiny.tag.function
.The text was updated successfully, but these errors were encountered: