Add citation to package

Source: R/usethis.R

Creates an inst/CITATION file for the package. When populate = TRUE (the default), the citation is pre-populated with author information from DESCRIPTION. Set populate = FALSE to create a blank template like usethis::use_citation().

Usage

use_qrtdown_citation(pkg = ".", populate = TRUE)

Arguments

pkg

Path to the package root directory

populate

If TRUE (default), pre-populate with authors and metadata from DESCRIPTION. If FALSE, create a blank template.

Value

Invisibly returns the path to CITATION file