R/acn_logo.R

Defines functions acn_logo

Documented in acn_logo

#' acn_logo
#'
#' @return adds Accenture logo to bottom left of a plot
#' @export
#'
#' @examples
#'

 <- function() {
  filename <- system.file("accenture_logo_black.svg", package = "afsPackage")
  grid::grid.raster(
    magick::image_read(filename),
    x = 0.05,
    y = 0.03,
    just = c("left", "bottom"),
    width = grid::unit(1, "inches"),
    height = grid::unit(0.28, "inches")
  )
}
farach/afsPackage documentation built on Dec. 23, 2021, 10:20 p.m.