pkg_travis: Create a Boilerplate Package '.travis.yml' File

Description Usage Arguments Details Author(s) Examples

View source: R/pkg_travis.R

Description

Creates a .travis.yml build file with additional entries for codecov.

Usage

1
pkg_travis(pkg_root, add = NULL, msg = ".travis.yml file path:")

Arguments

pkg_root

Character string. Package root directory.

add

Character string. Entries to the .travis.yml in addition to the boilerplate example.

msg

Character string. Optional message. If supplied, prints msg dir/fn.

Details

Note that if pkg_create() is used, this function will be called.

THIS FUNCTION OVERWRITES AN EXISTING .travis.yml FILE IN THE SPECIFIED PACKAGE ROOT DIRECTORY. USE WITH CAUTION.

Author(s)

Ivan Jacob Agaloos Pesigan

Examples

1
2
3
4
5
6
## Not run: 
pkg_travis(
  pkg_root = "~/boilerplatePackage"
)

## End(Not run)

jeksterslabds/jeksterslabRpkg documentation built on Jan. 22, 2021, 11:43 p.m.