man/figures/make_sticker.R

img <- magick::image_read(paste0(this.path::this.dir(), "/flocker.png"))

plot(img)
st <- hexSticker::sticker(img, package = "flocker", p_color = "gray95",
              s_width = 1, s_height = 1, s_x = 1, p_y = 1.42, 
              h_color = "dodgerblue3", h_fill = "dodgerblue2",
              filename=paste0(this.path::this.dir(), "flocker_sticker.png"))
plot(st)

Try the flocker package in your browser

Any scripts or data that you put into this service are public.

flocker documentation built on June 22, 2024, 11:21 a.m.