hex_logo: Create hexagonal logo for the package

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Create hexagonal logo for the package

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
(
  subplot = system.file("images/beer.png", package = "IPA"),
  dpi = 600,
  h_color = "#000000",
  h_fill = "#696969",
  output = system.file("images/logo.png", package = "IPA"),
  package = "IPA",
  p_color = "#eeeeee",
  url = "https://github.com/villegar/IPA",
  u_size = 1.55
)

Arguments

subplot

image to use as the main logo

dpi

plot resolution (dots-per-inch)

h_color

colour for hexagon border

h_fill

colour to fill hexagon

output

output file (hexagonal logo)

package

title for logo (package name)

p_color

colour for package name

url

URL for package repository or website

u_size

text size for URL

Value

hexagonal logo

Examples

1
2
3
4
5
## Not run: 
    ()
    ("inst/images/beer.png", output = "inst/images/logo.png")

## End(Not run)

villegar/IPA documentation built on Aug. 11, 2021, 12:50 a.m.