Defines functions use_citation

Documented in use_citation

#' Create a CITATION template
#' Use this if you want to encourage users of your package to cite an
#' article or book.
#' @export
use_citation <- function() {
    path("inst", "CITATION"),
    data = package_data(),
    open = TRUE

Try the usethis package in your browser

Any scripts or data that you put into this service are public.

usethis documentation built on May 28, 2022, 1:09 a.m.