inst/examples/06-search/server.R

library(shiny)
library(shinyTree)

texasCi <- readRDS("texasCities.Rds")

#' Define server logic required to generate a simple tree
#' @author Jeff Allen \email{jeff@@trestletech.com}
shinyServer(function(input, output, session) {
  log <- c(paste0(Sys.time(), ": Interact with the tree to see the logs here..."))
  
  output$tree <- renderTree({
    texasCi
  })
})
trestletech/shinyTree documentation built on Feb. 24, 2024, 9:10 p.m.