packr: Create a package

Description Usage Arguments Value Examples

View source: R/packr.R

Description

Create a package

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
## Not run: 
packr("zhaor", c("mindr", "pinyin", "beginr", "bookdownplus", "steemr", "rmd"), 
    "Your Name")

## End(Not run)

pzhaonet/beginr documentation built on March 27, 2021, 1:20 p.m.