package_logo: Creating a basic logo for an R package

View source: R/package_logo.R

package_logoR Documentation

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, use_logo = FALSE)

Arguments

package_name

[character(1)]
The package name.

brackets

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

[logical(1)]
Run use_logo in the end?

Details

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

Value

A ggplot object.

See Also

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

Examples

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

oeli documentation built on Oct. 16, 2024, 5:08 p.m.