use_qrtdown_citation
< Back to Reference | View source
use_qrtdown_citation()
Add citation to package
Usage
use_qrtdown_citation(pkg = ".", populate = TRUE)Arguments
| Argument | Description |
|---|---|
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
Description
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().