inst/logo/logo.R

library("magick")
library("showtext")

font_add_google("Zilla Slab", "pf", regular.wt = 500)

hexSticker::sticker(
  subplot = ~ plot.new(), s_x = 1, s_y = 1, s_width = 0.1, s_height = 0.1,
  package = "OHPL", p_x = 1, p_y = 1, p_size = 9, h_size = 1.2, p_family = "pf",
  p_color = "#3F8CCC", h_fill = "#FFF9F2", h_color = "#3F8CCC",
  dpi = 320, filename = "man/figures/logo.png"
)

image_read("man/figures/logo.png")

rstudioapi::restartSession()

Try the OHPL package in your browser

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

OHPL documentation built on Sept. 11, 2024, 7:05 p.m.