tests/testthat/helper-tags.R

render_tags <- function(ui) {
  res <- htmltools::renderTags(ui)

  deps <- lapply(res$dependencies, function(x) {
    x$version <- NULL
    x$src <- NULL
    unclass(x[!vapply(x, is.null, logical(1))])
  })

  list(
    deps = jsonlite::toJSON(deps, auto_unbox = TRUE),
    html = res$html
  )
}

Try the shinychat package in your browser

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

shinychat documentation built on June 10, 2025, 9:09 a.m.