assemble_package: A Reproducible Method for Creating Packages The intent of the...

Description Usage Arguments Value Examples

View source: R/assemble.R

Description

A Reproducible Method for Creating Packages The intent of the assemble_package function is to create a function that automatically creates new R packages with preconfigured settings to

  1. speed up the process required to create an R package and

  2. standardize the settings of R packages used in production.

Usage

1
assemble_package(.name, .path, .private_repo = FALSE)

Arguments

.name

the name of the package as a quoted string.

.path

the file path where the package will be stored locally.

.private_repo

a logical statement signifying if the GitHub repository should be private. The default is FALSE, which indicates the GitHub repository is public.

Value

a preconfigured R-package.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
assemble_package(.name = "validator",
.path = file.path("C:", "Users", "zmsmith.000",
 "OneDrive - New York State Office of Information Technology Services",
 "projects"),
.your_name = "Zachary M. Smith",
.private_repo = FALSE)

## End(Not run)

BWAM/assembler documentation built on March 12, 2021, 1:07 a.m.