build_citation

< Back to Reference | View source

build_citation()

Build Citation Page

Usage

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

Arguments

Argument Description
pkg Path to package root
quiet Suppress messages

Value

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

Description

Generates citation.qmd from CITATION file or package metadata. 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.