Arguments

package description, can be path or package name. See
as.package for more information.

name

File name to use for new vignette. Should consist only of
numbers, letters, _ and -. I recommend using lower case.

browse

open a browser window to enable Travis builds for the package
automatically.

type

CI tool to use. Currently supports codecov and coverall.

copyright_holder

The copyright holder for this package. Defaults to
getOption("devtools.name").

use_testthat

Add testing infrastructure to a package that does not already have it.
This will create tests/testthat.R, tests/testthat/ and
add testthat to the suggested packages. This is called
automatically from test if needed.

use_test

Add a test file, also add testing infrastructure if necessary.
This will create tests/testthat/test-<name>.R with a user-specified
name for the test. Will fail if the file exists.

use_vignette

Adds needed packages to DESCRIPTION, and creates draft vignette
in vignettes/. It adds inst/doc to .gitignore
so you don't accidentally check in the built vignettes.

use_rcpp

Creates src/ and adds needed packages to DESCRIPTION.

use_travis

Add basic travis template to a package. Also adds .travis.yml to
.Rbuildignore so it isn't included in the built package.

use_coverage

Add test code coverage to basic travis template to a package.

use_appveyor

Add basic AppVeyor template to a package. Also adds appveyor.yml to
.Rbuildignore so it isn't included in the built package.