Creates one or more Issue Templates to be used in a GitHub repository.
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())
#> Creating new Issue Template ==> /tmp/RtmpbIFOKe/bug_report.md
#> Creating new Issue Template ==> /tmp/RtmpbIFOKe/feature_request.md