vignettes/vignette_build.Rmd
vignette_build.Rmd
R
Package.Creates a boilerplate R
package by generating the following:
DESCRIPTION
file,NAMESPACE
file,LICENSE
and LICENSE.md
,R
script and accompanying Rd
documentation file,pkgdown
and travis
YAML
files,README.Rmd
file, and.Rbuildignore
, .gitignore
, and Rproj
.Optionally, the function can also set up a Git
repository and push the created repo to Github
. This requires that git
and hub
are installed and configured in the system.
If you are going to document, check, and build your package using devtools
, you may delete the boilerplate NAMESPACE
and MAN
files.
pkg_create(
pkg_dir = getwd(),
input_file = "DESCRIPTION.yml",
docs = TRUE,
pkgdown = TRUE,
travis = TRUE,
appveyor = TRUE,
readme = TRUE,
add_description = NULL,
add_namespace = NULL,
add_rbuildignore = NULL,
add_gitignore = NULL,
add_travis = NULL,
add_appveyor = NULL,
git = TRUE,
github = TRUE
)