Description Usage Arguments Examples
pax is a package template system that is NOT designed to be light weight. It is the deluxe, gold version of a package template. **pax** is not flexible, rather it maintains and enforces a narrow package management philosophy.
This function creates a package template. It utilizes a framework with defaults that expects the user to use testthat, Travis-CI and covr (coveralls) to maintain the package. This is not a light weight template, but a deluxe template.
1 2 3 4 5 | pax(path, name = getOption("name"), email = getOption("email"),
license = getOption("license"), open = is.global(2), news = TRUE,
readme = TRUE, rstudio = TRUE, gitignore = TRUE, testthat = TRUE,
travis = TRUE, coverage = TRUE, github.user = getOption("github.user"),
samples = getOption("samples"), tweak = getOption("tweak"), ...)
|
path |
location to create new regular expression library package. The last component of the path will be used as the package name. |
name |
A named vector that minimally contains the user's first and last
name (e.g., |
email |
An email address to use for CRAN maintainer. This can be
set in the user's |
license |
A license to use in the ‘DESCRIPTION’ file (e.g.,
"GPL-2", "MIT"). This can be set in the user's |
open |
logical. If |
news |
logical. If |
readme |
logical. If |
rstudio |
logical. If |
gitignore |
logical. If |
testthat |
logical. If |
travis |
logical. If |
coverage |
logical. If |
github.user |
The user's GitHub user name.
This can be set in the user's |
samples |
logical. If |
tweak |
Additional user supplied function that can be sourced at the end
of the package creation. The following parameters are passed to your function
automatically: (1) the package's name, (2) |
... |
Other arguments passed to the user supplied |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.