packr: Create a package

View source: R/packr.R

packrR Documentation

Create a package

Description

Create a package

Usage

packr(pkg_name, packages, author = NULL, email = NULL, auto = FALSE,
  overwrite = FALSE)

Arguments

pkg_name

the name of the package which is to be created

packages

packages wrapped in this group

author

author of the new package

email

email of the author

auto

logical. whether to build and install the new package automatically

overwrite

logical. whether to overwrite the package with the same name if it already installed

Value

a folder with a package skeleton

Examples

## Not run: 
packr('zhaor', c('mindr','pinyin', 'beginr', 'bookdownplus', 'steemr', 'rmd'), 'Your Name')

## End(Not run)

pzhaonet/beginr documentation built on July 19, 2023, 1:57 p.m.