use_bioc_citation: Create a biocthis-style CITATION template

View source: R/use_bioc_citation.R

use_bioc_citationR Documentation

Create a biocthis-style CITATION template

Description

This function is very similar to usethis::use_citation() except that it uses a template from biocthis. This template can help you get started with a citation file for your Bioconductor package. You can compare the template produced with the one from usethis::use_citation() to pick and choose the parts you like best from each.

Usage

use_bioc_citation()

Value

This function adds and/or replaces the inst/CITATION file in your R package.

Examples

## Not run: 
## Run this function in your package
use_bioc_citation()

## End(Not run)

## Create an example package for illustrative purposes.
## Note: you do not need to run this for your own package!
pkgdir <- biocthis_example_pkg()

## Create a template CITATION file that is Bioconductor-friendly
biocthis::use_bioc_citation()

lcolladotor/biocthis documentation built on May 5, 2024, 6:15 a.m.