hex/sticker.R

library(hexSticker)
library(here)

img_path <- here("hex", "nima_v2.png")
sticker_path <- here("hex", "nima_sticker.png")

sticker(img_path, package = "",
        p_color = "#242A30", p_size = 5, p_x = 1, p_y = 0.3,
        s_x = 1, s_y = 1.1, s_width = 0.6,
        h_fill = "#ffffff", h_color = "#000000",
        filename = sticker_path)
nhejazi/nima documentation built on March 10, 2020, 1:10 a.m.