add_pkg_file | R Documentation |
Automatically generate a file containing functions and related code for R package development.
add_pkg_file(
desc_file = "DESCRIPTION",
pkg_name = NULL,
title = NULL,
pkg_description = NULL,
author_name = NULL,
author_email = NULL,
github_url = NULL,
output_dir = "R",
use_figlet = TRUE,
figlet_font = "Slant",
colors = c("red", "yellow", "green", "magenta", "cyan", "yellow", "green", "white",
"magenta", "cyan"),
unicode = TRUE,
verbose = TRUE
)
desc_file |
The DESCRIPTION file.
Default is |
pkg_name |
Character string, the name of the package.
Default is |
title |
Character string, title of the package.
Default is |
pkg_description |
Character string, short description of the package.
Default is |
author_name |
Character string, name of the package author.
Default is |
author_email |
Character string, email of the package author.
Default is |
github_url |
Character string, GitHub URL of the package.
Default is |
output_dir |
Character string, directory where to save the package file.
Default is |
use_figlet |
Whether to use figlet for ASCII art generation.
Default is |
figlet_font |
Character string, figlet font to use.
Default is |
colors |
Character vector, colors to use for the logo elements. |
unicode |
Whether to use Unicode symbols.
Default is |
verbose |
Whether to print progress messages.
Default is |
Creates a file in specified output directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.