mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
Fix another missing ()
This commit is contained in:
@@ -109,7 +109,7 @@ Keep in mind that if your application tries to access reactive values or express
|
||||
shinyServer(function(input, output) {
|
||||
# Will give error
|
||||
currentFib <- fib(as.numeric(input$n))
|
||||
output$nthValue <- renderText({ currentFib })
|
||||
output$nthValue <- renderText({ currentFib() })
|
||||
})
|
||||
{% endhighlight %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user