tests/testapp/server.R

devtools::load_all()

server <- function(input, output, session) {
  render_survey(id_container = "container",
                id_answers = "answers",
                survey_json = SURVEY$cancellation)
  
  shiny::observeEvent(input$answers, {
    answers <- get_answers(input$answers)
  })
  
}
dheimgartner/surveyjR documentation built on Feb. 5, 2022, 8:11 a.m.