This function makes a hexagonal logo in INBO style for the provided package name.

create_hexsticker(
  package_name,
  filename = path("man", "figures", "logo.svg"),
  icon,
  x = 0,
  y = 0,
  scale = 1
)

Arguments

package_name

package name that should be mentioned on the hexagonal sticker.

filename

filename to save the sticker.

icon

optional filename to an .svg file with an icon.

x

number of pixels to move the icon to the right. Use negative numbers to move the icon to the left.

y

number of pixels to move the icon to the bottom. Use negative numbers to move the icon to the top.

scale

Scales the icon.

Value

A figure is saved in the working directory or provided path.

Examples

if (FALSE) {
# make tempfile to save logo (or just use (path and) filename)
#' output <- tempfile(pattern = "hexsticker", fileext = ".svg")
create_hexsticker("checklist", filename = output)
}