R/deps.R

Defines functions get_dashboard_dependencies

Documented in get_dashboard_dependencies

#' Get the semantic.dashboard dependencies
#'
#' @description To add dependencies in the future follow the \code{\link[htmltools]{htmlDependency}} help.
#'
#' @return semantic.dashboard dependencies
get_dashboard_dependencies <- function() {
  list(
    htmlDependency(
      "semantic.dashboard",
      as.character(utils::packageVersion("semantic.dashboard")),
      c(file = system.file(package = "semantic.dashboard")),
      script = "semantic.dashboard.min.js",
      stylesheet = "semantic.dashboard.min.css"
    )
  )
}

Try the semantic.dashboard package in your browser

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

semantic.dashboard documentation built on Jan. 16, 2021, 5:28 p.m.