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())
}
reactive_graph_1 x x sum sum x->sum prod prod x->prod y y y->sum y->prod z z z->sum z->prod division division sum->division prod->division

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