sticker/sticker.R

library(hexSticker)
library(desc)
desc = desc::description$new()
package = desc$get("Package")
# outline = "#0caa41"
outline = "black"
# background = "#0caa41"
background = "dodgerblue2"
p_color = "black"
sticker("icon.png",
        package = package,
        h_fill = background,
        h_color = outline,
        s_width = 0.2,
        s_height = 0.4,
        s_x = 1,
        filename = "sticker.jpg")
kuhnrl30/LendingClub documentation built on Jan. 1, 2020, 6:02 p.m.