add_pkg_file: Add a package file and print package information

View source: R/add_pkg_file.R

add_pkg_fileR Documentation

Add a package file and print package information

Description

Add a package file and print package information

Usage

add_pkg_file(
  use_figlet = TRUE,
  figlet_font = "Slant",
  colors = c("red", "yellow", "green", "magenta", "cyan", "yellow", "green", "white",
    "magenta", "cyan"),
  verbose = TRUE
)

Arguments

use_figlet

Whether to use figlet for ASCII art generation. Default is TRUE. Details see figlet.

figlet_font

Character string, figlet font to use. Default is "Slant".

colors

Character vector, colors to use for the logo elements.

verbose

Whether to print the message. Default is TRUE.

Value

Creates a file named ⁠R/<pkg_name>-package.R⁠.


thisutils documentation built on May 24, 2026, 5:07 p.m.