Learn R Programming

oeli (version 0.7.1)

package_logo: 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.

Usage

package_logo(package_name, brackets = TRUE)

Value

A ggplot object.

Arguments

package_name

[character(1)]
The package name.

brackets

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

References

  • This function builds upon sticker.

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

See Also

Other package helpers: Dictionary, Storage, identical_structure(), input_check_response(), match_arg(), print_data.frame(), print_matrix(), system_information(), unexpected_error(), user_confirm()

Examples

Run this code
package_logo("my_package", brackets = TRUE)

Run the code above in your browser using DataLab