usethis (version 1.4.0)

use_logo: Use a package logo

Description

This function helps you use a logo in your package:

  • Enforces a specific size

  • Stores logo image file at man/figures/logo.png

  • Produces the markdown text you need in README to include the logo

Usage

use_logo(img, geometry = "120x140")

Arguments

img

The path to an existing image file

geometry

a magick::geometry string specifying size

Examples

Run this code
# NOT RUN {
use_logo("usethis.png")
# }

Run the code above in your browser using DataCamp Workspace