use_issue_template: Use Issue Template

View source: R/use_issue_template.R

use_issue_templateR Documentation

Use Issue Template

Description

Creates one or more Issue Templates to be used in a GitHub repository.

Usage

use_issue_template(
  templates = c("bug_report.md", "feature_request.md"),
  save_dir = here::here(".github", "ISSUE_TEMPLATE"),
  path = file.path(save_dir, templates),
  force_new = FALSE,
  show = FALSE,
  verbose = TRUE
)

Arguments

templates

The names of templates to be used.

save_dir

Directory to save the Docker file to.

path

Path to the Docker file.

force_new

If a Docker file already exists, overwrite it (default: FALSE).

show

Print the contents of the Docker file in the R console.

verbose

Print messages.

Value

Path to Issue Templates.

Examples

path <- use_issue_template(save_dir=tempdir())

rworkflows documentation built on Nov. 2, 2023, 5:21 p.m.