inst/figures/makeSticker.R

font_family = "Ekibastuz"

sysfonts::font_add(family = font_family, regular = "ekibastuz_heavy.otf")

hexSticker::sticker("inst/figures/logo_MEDIANAINC.png",
                  package="Mediana",
                  s_x=1,
                  s_y=0.95,
                  s_width=0.4,
                  s_height=0.4,
                  p_color = "white",
                  p_family = font_family,
                  p_size = 40,
                  p_x = 1,
                  p_y = 1.55,
                  h_fill = "#EE3223",
                  h_color = "#AE3927",
                  url = "http://gpaux.github.io/Mediana",
                  u_family = font_family,
                  u_size = 6,
                  u_color = "white",
                  asp = 1,
                  filename = "inst/figures/hexMediana.png",
                  dpi = 600)

Try the Mediana package in your browser

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

Mediana documentation built on May 8, 2019, 5:04 p.m.