Skip to contents

Builds a package (binary on OS X or Windows) and inserts it into an existing drat repository via drat::insertPackage().

Usage

step_add_to_drat(repo_slug = NULL, deploy_dev = FALSE)

Arguments

repo_slug

[string]
The name of the drat repository to deploy to in the form :owner/:repo.

deploy_dev

[logical]
Should development versions of packages also be deployed to the drat repo? By default only "major", "minor" and "patch" releases are build and deployed.

Examples

dsl_init()
#>  Creating a clean tic stage configuration
#>  See `?tic::dsl_get` for details

get_stage("script") %>%
  add_step(step_add_to_drat())

dsl_get()
#> ── tic configuration summary ───────────────────────────────────────────────────
#> ── Stage: script ───────────────────────────────────────────────────────────────
#>  step_add_to_drat()