use_logo: Use a package logo

Description Usage Arguments Examples

View source: R/logo.R

Description

This function helps you use a logo in your package:

Usage

1
(img, geometry = "240x278", retina = TRUE)

Arguments

img

The path to an existing image file

geometry

a magick::geometry string specifying size. The default assumes that you have a hex logo using spec from http://hexb.in/sticker.html.

retina

TRUE, the default, scales the image on the README, assuming that geometry is double the desired size.

Examples

1
2
3
4
## Not run: 
("usethis.png")

## End(Not run)

usethis documentation built on Oct. 25, 2021, 9:06 a.m.