deploy_drat: Deploy drat repo

Description Usage Arguments Examples

View source: R/drat.R

Description

Publish the package to the drat repo with travis

Usage

1
2
3
4
5
6
deploy_drat(drat_repo = paste(git_user(), "/drat", sep = ""),
  commit_message = paste(git_user_repo(),
  ": travis build $TRAVIS_BUILD_NUMBER", sep = ""), action = c("none",
  "archive", "prune"), valid_branches = c("master"),
  email = "travis@travis-ci.org", name = "Travis CI",
  output_dir = "_drat")

Arguments

drat_repo

"USER/REPO" location of the drat repository

commit_message

string to be used for git commit message

action

parameter directly supplied to insertPackage. Default behavior is 'none'

valid_branches

string vector of branch names that are allowed to deploy. Defaults to "USER/REPO: travis build $TRAVIS_BUILD_NUMBER"

email

email of the 'user' making the travis commit

name

name of the 'user' making the travis commit

output_dir

location to perform drat functions. This folder should not exist beforehand

Examples

1
2
3
4
## Not run: 
  secure_token(FALSE)

## End(Not run)

schloerke/travisDrat documentation built on May 29, 2019, 3:41 p.m.