R/onLoad.R

Defines functions .onLoad

#' Shiny resource
#'
#' @importFrom shiny addResourcePath
#'
#' @noRd
.onLoad <- function(...) {
  shiny::addResourcePath("grillade", system.file("assets", package = "grillade"))
  register_s3_method("knitr", "knit_print", "grillade")
}
dreamRs/grillade documentation built on May 2, 2020, 11:09 a.m.