Learn R Programming

thisutils (version 0.4.4)

add_pkg_file: 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
)

Value

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

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.