data-raw/hex-sticker.R

library(hexSticker)
library(ggplot2)

sticker("./data-raw/mace2.png",
  package = "hansard", p_size = 8, s_x = 1, s_y = .75,
  s_width = .6, h_fill = "#4A7729", h_color = "#971B2F",
  filename = "inst/figures/imgfile.png"
)
EvanOdell/hansard documentation built on Oct. 12, 2021, 11:29 p.m.