Exercises

1. Draw the reactive graph for the following server function and then explain why the reactives are not run.

server <- function(input, output, session) {
  sum <- reactive(input$x + input$y + input$z)
  prod <- reactive(input$x * input$y * input$z)
  division <- reactive(prod() / sum())
}

There are no outputs. Server function only contains inputs and reactive expressions.