Skip to contents

This function creates a basic R package logo. The logo has a white background and the package name (with or without curly brackets) in the center. The font size for the package name is scaled such that it fits inside the logo. Type ?oeli to see an example.

Usage

package_logo(package_name, brackets = TRUE)

Arguments

package_name

[character(1)]
The package name.

brackets

[logical(1)]
Curly brackets around the package name?

Value

A ggplot object.

References

  • This function builds upon sticker.

  • Use use_logo to set up the logo for a package.

Examples

package_logo("my_package", brackets = TRUE)