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.30, 
        s_height = 0.6,
        s_x = 1,
        filename = "sticker.png")


usethis::use_build_ignore(
  c("icon.png", "sticker.R", "sticker.png"))
neuroconductor/RAVEL documentation built on May 19, 2021, 5:18 a.m.