R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {

  shiny::registerInputHandler("radioMatrixInput.dataframe", function(value, ...) {
    if (is.null(value)) {
      return(value)
    } else {
      df <- safeFromJSON(value)
      return(df)
    }
  }, force = TRUE)
}

Try the shinysurveys package in your browser

Any scripts or data that you put into this service are public.

shinysurveys documentation built on July 11, 2021, 9:06 a.m.