Build Citation Page

Generates citation.qmd from CITATION file or package metadata. The generated file goes to citation.qmd in the package root. Build the citation page

Generates citation.qmd only if the user has created a CITATION file (via usethis::use_citation()) or a CITATION.cff file. If neither exists, no citation page is generated.

Usage

build_citation(pkg = ".", quiet = FALSE)

Arguments

pkg

Path to package root

quiet

Suppress messages

Value

Invisibly returns the path to the created file, or NULL if no citation file exists