use_tic_r: Add a tic.R file to the repo

View source: R/use_tic.R

use_tic_rR Documentation

Add a tic.R file to the repo

Description

Adds a tic.R file to containing the macros/steps/stages to be run during CI runs.

The content depends on the repo type (detected automatically when used within use_tic()).

Usage

use_tic_r(repo_type, deploy_on = "none")

Arguments

repo_type

(character(1))
Which type of template should be used. Possible values are "package", "site", "blogdown", "bookdown" or "unknown".

deploy_on

(character(1))
Which CI provider should perform deployment? Defaults to NULL which means no deployment will be done. Possible values are "ghactions" or "circle".

See Also

yaml_templates, use_tic_badge()

Examples

## Not run: 
use_tic_r("package")
use_tic_r("package", deploy_on = "ghactions")
use_tic_r("blogdown", deploy_on = "all")

## End(Not run)

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