step_add_to_drat: Step: Add built package to a drat

View source: R/steps-drat.R

step_add_to_dratR Documentation

Step: Add built package to a drat

Description

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.

See Also

Other steps: step_add_to_known_hosts(), step_build_pkgdown(), step_do_push_deploy(), step_hello_world(), step_install_pkg, step_install_ssh_keys(), step_push_deploy(), step_run_code(), step_session_info(), step_setup_push_deploy(), step_setup_ssh(), step_test_ssh(), step_write_text_file()

Examples

dsl_init()

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

dsl_get()

ropenscilabs/tic documentation built on Feb. 5, 2024, 5:06 p.m.