package_logo {oeli}R Documentation

Creating a basic logo for an R package

Description

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.

The function optionally calls use_logo if use_logo = TRUE to set up the logo for a package.

Usage

package_logo(package_name, brackets = TRUE, use_logo = FALSE)

Arguments

package_name

A character, the package name.

brackets

Set to TRUE (default) to have curly brackets around the package name.

Set to TRUE to run use_logo in the end.

Value

A ggplot object.

Examples

package_logo("my_package", brackets = TRUE, use_logo = FALSE)

[Package oeli version 0.5.2 Index]