inst/tests_helpers/determine_line_test_helper.R

fun1 <- function(id) {
  moduleServer(
    id,
    function(input, output, session) {
      observe({
        reactable::reactable(src_data,
                             columns = list(col = reactable::colDef(cell = function(value) {
                               if (TRUE) {
                                 my_fun(value)
                               } else {
                                 value
                               }
                             }
                             )),
                             highlight = TRUE)
      })

      observe({
        if (TRUE) {
          2
        }
      })
    }
  )
}
gsmolinski/shinybreakpoint documentation built on Jan. 13, 2023, 12:48 a.m.