View source: R/create_hexsticker.R
create_hexsticker | R Documentation |
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
)
package_name |
package name that should be mentioned on the hexagonal sticker. |
filename |
filename to save the sticker. |
icon |
optional filename to an |
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 |
A figure is saved in the working directory or provided path.
Other utils:
ask_yes_no()
,
author2df()
,
bookdown_zenodo()
,
c_sort()
,
execshell()
,
menu_first()
,
orcid2person()
,
store_authors()
,
use_author()
,
validate_email()
,
validate_orcid()
,
yesno()
## Not run:
# make tempfile to save logo (or just use (path and) filename)
#' output <- tempfile(pattern = "hexsticker", fileext = ".svg")
create_hexsticker("checklist", filename = output)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.