R/use_bioc_feature_request_template.R
use_bioc_feature_request_template.Rd
This function is very similar to usethis::use_tidy_issue_template()
except
that it uses a template from biocthis
and is tailored for feature requests.
use_bioc_feature_request_template()
This function adds and/or replaces the
.github/ISSUE_TEMPLATE/feature_request_template.md
file in your R package.
For more details on how this function came to be, check https://github.com/lcolladotor/biocthis/pull/33.
if (FALSE) {
## Run this function in your package
use_bioc_feature_request_template()
}
## Create an example package for illustrative purposes.
## Note: you do not need to run this for your own package!
pkgdir <- biocthis_example_pkg()
#> ✔ Setting active project to '/tmp/RtmpTHfQjN/biocthisexample'
#> Package: biocthisexample
#> Title: What the Package Does (One Line, Title Case)
#> Version: 0.0.0.9000
#> Authors@R (parsed):
#> * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
#> Description: What the package does (one paragraph).
#> License: `use_mit_license()`, `use_gpl3_license()` or friends to
#> pick a license
#> Encoding: UTF-8
#> Roxygen: list(markdown = TRUE)
#> RoxygenNote: 7.2.3
#> ✔ Setting active project to '/tmp/RtmpTHfQjN/biocthisexample'
## Create a feature request template GitHub file that is Bioconductor-friendly
biocthis::use_bioc_feature_request_template()
#> ✔ Creating '.github/ISSUE_TEMPLATE/'
#> ✔ Writing '.github/ISSUE_TEMPLATE/feature_request_template.md'