use_touchstone: Initiate touchstone

View source: R/use.R

use_touchstoneR Documentation

Initiate touchstone

Description

This function will initialize touchstone in your package repository, use from root directory.

Usage

use_touchstone(
  overwrite = FALSE,
  command = NULL,
  limit_to = c("OWNER", "MEMBER", "COLLABORATOR"),
  force_upstream = TRUE
)

Arguments

overwrite

Overwrites files if they exist.

command

If set to NULL (the default) will run the workflow on every commit. If set to a command (e.g. ⁠/benchmark⁠) the benchmark will only run when triggered with a comment on the PR starting with the command.

limit_to

Roles that are allowed to trigger the benchmark workflow via comment. See details for a list of roles and their definition. Set to NULL to allow everyone to trigger a benchmark.

force_upstream

Always benchmark against the upstream base branch.

Details

For more information see the 'Using touchstone' vignette: 'vignette("touchstone", package = "touchstone")

Value

The function is called for its side effects and returns NULL (invisibly).

See Also

use_touchstone_workflows()

Examples

## Not run: 
# within your repository
use_touchstone()

## End(Not run)

lorenzwalthert/touchstone documentation built on April 20, 2024, 9:57 a.m.